Currently, due to this line:
|
and OPERATOR_PRECEDENCE.unary > lastPrecedence |
the following code fails to parse correctly:
local _ = 6 ^ -4
Proposed solution: Change the line to include a check for "^" (not sure if this breaks anything)
and ((OPERATOR_PRECEDENCE.unary > lastPrecedence) or lastPrecedence == 11)