Skip to content

Commit

Permalink
fix for issue #61: foo((x, y)) incorrectly transformed to foo(x, y)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishoo committed Nov 26, 2010
1 parent 0f2f6fb commit c47a23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ characters in string S to STREAM."

(:call (expr args)
(stick (parenthesize expr #'needs-parens)
"(" (join (mapcar #'gencode args) ", " ",") ")"))
"(" (join (mapcar (lambda (expr) (parenthesize expr :seq)) args) ", " ",") ")"))

(:dot (expr prop)
(stick (parenthesize expr #'needs-parens) "." prop))
Expand Down

0 comments on commit c47a23e

Please sign in to comment.