sam701/syconf

Fix equality operator precedence

Opened this issue · 1 comments

Make these expressions parsable:

3 > 2 == true
if true then 3 else 2 == 3 // ambiguous, see comment below

The expression if true then 3 else 2 == 3 is ambiguous depending on associativity. It can be seen as (if true then 3 else 2) == 3 or if true then 3 else (2 == 3). This case won't be fixed.