This commit is contained in:
Mylloon 2023-10-24 14:54:50 +02:00
parent 8be119b71c
commit 46e5c9e270
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -434,24 +434,27 @@ expression:
/******************************** BASIC TYPES *********************************/ /******************************** BASIC TYPES *********************************/
identifier:
| i=ID {
Id i
}
type_variable: type_variable:
| tid=TID { | tid=TID {
TId tid TId tid
} }
constructor:
| kid=CID {
KId kid
}
type_constructor: type_constructor:
| tcon=CID { | tcon=CID {
TCon tcon TCon tcon
} }
constructor:
| kid=CID {
KId kid
}
label: label:
| label=ID { | label=ID {
LId label LId label
@ -473,12 +476,6 @@ literal:
} }
identifier:
| i=ID {
Id i
}
%inline binop: %inline binop:
| PLUS { "`+`" } | PLUS { "`+`" }
| MINUS { "`-`" } | MINUS { "`-`" }