You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch is a minor NFC-intended refactoring to the way emitting
redundant parentheses is prevented.
The current implementation pushes and later pops a fake low precedence
into the precedence stack when emitting function calls.
The new implementation adds a boolean argument to `emitOperand()` that
explicity guarantees that the operand is being emitted between some
kind of brackets, exempting the method from enforcing correct evaluation
order w.r.t precedence and associativity up the expression tree.
0 commit comments