Commit bef73f02 authored by Tadej Borovšak's avatar Tadej Borovšak
Browse files

Remove redundant operator precedence rule

parent d2b398ec
...@@ -36,10 +36,10 @@ import Imp_AbsSyntax ...@@ -36,10 +36,10 @@ import Imp_AbsSyntax
loc { LOC _ $$ } loc { LOC _ $$ }
-- These two rules are needed to break shift/reduce conflicts in while/if -- Next two rules are needed to break shift/reduce conflicts in while/if
-- statements (we want ; to bind stronger). Associativity of ; doesn't make -- statements (we want ; to bind stronger). Associativity of ; doesn't make
-- any difference, but I find it easier to read ASTs that are "right-heavy". -- any difference, but I find it easier to read ASTs that are "right-heavy".
%nonassoc do then else %nonassoc do else
%right ';' %right ';'
-- Operator precedence - nothing interesting here -- Operator precedence - nothing interesting here
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment