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