Fix output for x = 2 * (a % b / b * c)

(issue #337)
This commit is contained in:
Mihai Bazon
2013-10-30 09:11:55 +02:00
parent bea3d90771
commit e4c5302406

View File

@@ -481,11 +481,7 @@ function OutputStream(options) {
var so = this.operator, sp = PRECEDENCE[so];
if (pp > sp
|| (pp == sp
&& this === p.right
&& !(so == po &&
(so == "*" ||
so == "&&" ||
so == "||")))) {
&& this === p.right)) {
return true;
}
}