Permalink
Browse files

fixed https://github.com/mishoo/UglifyJS/issues#issue/53: x = (y, z) …

…should

not discard the parens
  • Loading branch information...
1 parent 7c8b89f commit ff67e17cfe471915fadfbbddcf6b1655b3e7b1e1 @mishoo committed Nov 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/codegen.lisp
View
@@ -297,7 +297,7 @@ characters in string S to STREAM."
(if (eq op t)
"="
(stick (operator-string op) "="))
- (gencode right)))
+ (parenthesize right :seq)))
(:new (ctor args)
(with-output-to-string (out)

0 comments on commit ff67e17

Please sign in to comment.