diff options
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -71,14 +71,17 @@ public: %token LE GE EQ NE AND OR -%left '[' ']' +%left OR +%left AND + +%left '<' LE GE '>' +%left EQ NE + %left '!' '+' '-' %left '*' '/' '%' +%left '[' ']' %left '.' -%left '<' LE GE '>' -%left EQ NE -%left AND -%left OR + %right '?' ':' %type <expr> expr |