conflicts

This commit is contained in:
Nicolas PENELOUX 2023-10-24 22:52:54 +02:00
commit 74ab37ec6b

View file

@ -23,18 +23,18 @@
%left let1
%left FUN
/* %left FUN */
%left STRING
%left INT CID CHAR WHILE
%left INT CID CHAR /* WHILE */
%left ID
%right REF DO
%left LET MATCH IF FOR
/* %right REF DO */
/* %left LET MATCH IF FOR */
%right ARROW
%right SEMICOLON
%left DOT
%left ASSIGN
%left LBRACE
%left BACKSLASH
/* %left BACKSLASH */
%left EXCLA COLON
@ -47,6 +47,7 @@
%left local_def1
%left ref1
/* %left ref1 */
%left fun1
%left app1
@ -451,7 +452,7 @@ expression:
For(var, e1, e2, e3)
}
/* allocation
/* Allocation
* ref expr */
| REF e=located(mid_expression) {
Ref(e)