Better fix for #475

This commit is contained in:
Mihai Bazon
2014-04-27 20:54:54 +03:00
parent 8258edd8a5
commit 025f3e9596

View File

@@ -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){