470/470
This commit is contained in:
parent
8108b1c4fc
commit
75e2d0e78c
1 changed files with 3 additions and 3 deletions
|
@ -289,6 +289,7 @@ simple_expression:
|
|||
(* S'il y a qu'1 élément, alors c'est juste une expression *)
|
||||
match el with | [alone] -> Position.value alone | _ -> Tuple(el)
|
||||
}
|
||||
|
||||
mid_expression:
|
||||
| e=simple_expression {
|
||||
e
|
||||
|
@ -306,15 +307,14 @@ mid_expression:
|
|||
| EXCLA e=located(simple_expression) {
|
||||
Read(e)
|
||||
}
|
||||
/* Record - Construction d'un enregistrement */
|
||||
/* Record - Construction d'un enregistrement */
|
||||
| LBRACE l=separated_nonempty_list(
|
||||
COMMA,
|
||||
separated_pair(located(label_identifier), EQUAL, located(expression))
|
||||
separated_pair(located(label_identifier), EQUAL, located(mid_expression))
|
||||
) RBRACE tl=option(type_list) {
|
||||
Record(l, tl)
|
||||
}
|
||||
|
||||
|
||||
expression:
|
||||
| e=mid_expression {
|
||||
e
|
||||
|
|
Reference in a new issue