390 conflicts -> 160
This commit is contained in:
parent
edc2664613
commit
892d0bf8dc
1 changed files with 11 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
||||
%%
|
||||
|
|
Reference in a new issue