390 conflicts -> 160

This commit is contained in:
Nicolas PENELOUX 2023-10-23 11:57:01 +02:00
parent edc2664613
commit 892d0bf8dc

View file

@ -22,18 +22,26 @@
/* TODO: Résoudre tout les shift/reduce conflits */
%right WHILE REF DO
%left FUN MATCH IF FOR
%right ARROW
%right SEMICOLON
%left ASSIGN
%left LPAREN
%left LET
%left EXCLA COLON
/* priorités binop */
%left OR
%left AND
%left D_OR
%left D_AND
%left EQUAL_OP INF_EQUAL_OP INF_OP SUP_EQUAL_OP SUP_OP
%left PLUS MINUS
%left DIV STAR
%left SLASH STAR
%%