Permalink
Browse files

fix bug in splicing tuples with $(x...) in quote

  • Loading branch information...
1 parent de50fd3 commit f366ad64f1e8a8a5541dfe719d0e1ac6818cbd60 @JeffBezanson JeffBezanson committed Apr 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/julia-syntax.scm
View
@@ -1839,8 +1839,8 @@ So far only the second case can actually occur.
(if (null? p)
(let ((forms (reverse q)))
`(call (top expr) ,(expand-backquote (car e))
- (call (top append) ,@forms)))
- ; look for splice inside backquote, e.g. (a,$(x...),b)
+ (call (top append_any) ,@forms)))
+ ;; look for splice inside backquote, e.g. (a,$(x...),b)
(if (match '($ (tuple (... x))) (car p))
(loop (cdr p)
(cons (cadr (cadadr (car p))) q))

0 comments on commit f366ad6

Please sign in to comment.