fix regression from 5346fb94 (shouldn't parenthesize i++ in x[i++])

This commit is contained in:
Mihai Bazon
2012-11-07 13:02:51 +02:00
parent bb0e4d7126
commit 80da21dab4

View File

@@ -412,7 +412,7 @@ function OutputStream(options) {
PARENS(AST_Unary, function(output){
var p = output.parent();
return p instanceof AST_PropAccess;
return p instanceof AST_PropAccess && p.expression === this;
});
PARENS(AST_Seq, function(output){