diff --git a/parser.mly b/parser.mly index 8fcc2f4..7564cc3 100644 --- a/parser.mly +++ b/parser.mly @@ -15,8 +15,9 @@ %token Land Lor %token Lif Lelse Lwhile -%left Ladd Lsub Lseq Lsge Lsgt Lsle Lslt Lsne Land Lor +%left Ladd Lsub Lseq Lsge Lsgt Lsle Lslt Lsne %left Lmul Ldiv Lrem +%left Land Lor %type prog