diff options
-rw-r--r-- | lib/output.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js index adbc9a41..4a3bfd53 100644 --- a/lib/output.js +++ b/lib/output.js @@ -455,7 +455,8 @@ function OutputStream(options) { PARENS(AST_Unary, function(output){ var p = output.parent(); - return p instanceof AST_PropAccess && p.expression === this; + return (p instanceof AST_PropAccess && p.expression === this) + || (p instanceof AST_Unary && p.operator == "+" && this.operator == "+"); }); PARENS(AST_Seq, function(output){ |