X-Git-Url: https://git.xandkar.net/?p=tiger.ml.git;a=blobdiff_plain;f=tiger%2Fsrc%2Flib%2Ftiger%2Ftiger_parser.mly;h=625632f0df22ba3655a06b5a864fa322c9bade72;hp=e8d32f615bcb063899a9621475a3fb2074deff09;hb=b0047ce7ac589181a63394b523fe6c054cb9c9ff;hpb=a0db55230bcd2424320b34689aac6e3a39a93c90 diff --git a/tiger/src/lib/tiger/tiger_parser.mly b/tiger/src/lib/tiger/tiger_parser.mly index e8d32f6..625632f 100644 --- a/tiger/src/lib/tiger/tiger_parser.mly +++ b/tiger/src/lib/tiger/tiger_parser.mly @@ -49,6 +49,9 @@ %token WHILE /* from lowest precedence */ +%left ELSE +%nonassoc ASSIGN +%left OF DO %left OR %left AND %nonassoc EQ NEQ GT LT GE LE