aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/output.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js
index 25b601ef..674ae4db 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -403,6 +403,7 @@ function OutputStream(options) {
PARENS(AST_Seq, function(output){
var p = output.parent();
return p instanceof AST_Call // (foo, bar)() or foo(1, (2, 3), 4)
+ || p instanceof AST_Unary // !(foo, bar, baz)
|| p instanceof AST_Binary // 1 + (2, 3) + 4 ==> 7
|| p instanceof AST_VarDef // var a = (1, 2), b = a + a; ==> b == 4
|| p instanceof AST_Dot // (1, {foo:2}).foo ==> 2