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 */ /* TODO: Résoudre tout les shift/reduce conflits */
%right WHILE REF DO
%left FUN MATCH IF FOR
%right ARROW %right ARROW
%right SEMICOLON %right SEMICOLON
%left ASSIGN %left ASSIGN
%left LPAREN %left LPAREN
%left LET
%left EXCLA COLON
/* priorités binop */ /* priorités binop */
%left OR %left D_OR
%left AND %left D_AND
%left EQUAL_OP INF_EQUAL_OP INF_OP SUP_EQUAL_OP SUP_OP %left EQUAL_OP INF_EQUAL_OP INF_OP SUP_EQUAL_OP SUP_OP
%left PLUS MINUS %left PLUS MINUS
%left DIV STAR %left SLASH STAR
%% %%