diff --git a/lib/output.js b/lib/output.js index 4a3bfd53..26f230af 100644 --- a/lib/output.js +++ b/lib/output.js @@ -456,7 +456,7 @@ function OutputStream(options) { PARENS(AST_Unary, function(output){ var p = output.parent(); return (p instanceof AST_PropAccess && p.expression === this) - || (p instanceof AST_Unary && p.operator == "+" && this.operator == "+"); + || (p instanceof AST_Unary && p.operator == this.operator); }); PARENS(AST_Seq, function(output){