Skip to content

Commit

Permalink
Fix output for x = 2 * (a % b / b * c)
Browse files Browse the repository at this point in the history
(issue #337)
  • Loading branch information
mishoo committed Oct 30, 2013
1 parent bea3d90 commit e4c5302
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit e4c5302

Please sign in to comment.