diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/output.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js index ab44222f..46ed126e 100644 --- a/lib/output.js +++ b/lib/output.js @@ -410,6 +410,11 @@ function OutputStream(options) { return first_in_statement(output); }); + PARENS(AST_Unary, function(output){ + var p = output.parent(); + return p instanceof AST_PropAccess; + }); + PARENS(AST_Seq, function(output){ var p = output.parent(); return p instanceof AST_Call // (foo, bar)() or foo(1, (2, 3), 4) |