Better fix for #475
This commit is contained in:
parent
8258edd8a5
commit
025f3e9596
|
|
@ -456,7 +456,7 @@ function OutputStream(options) {
|
||||||
PARENS(AST_Unary, function(output){
|
PARENS(AST_Unary, function(output){
|
||||||
var p = output.parent();
|
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 == "+");
|
|| (p instanceof AST_Unary && p.operator == this.operator);
|
||||||
});
|
});
|
||||||
|
|
||||||
PARENS(AST_Seq, function(output){
|
PARENS(AST_Seq, function(output){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user