Fixed the regression introducted by the previous commit (disallowing empty lists).
This commit is contained in:
parent
53314c2c0c
commit
37c2152fca
@ -186,6 +186,11 @@ list_of(item):
|
|||||||
terminator;
|
terminator;
|
||||||
closing = RBracket $3}
|
closing = RBracket $3}
|
||||||
}
|
}
|
||||||
|
| lbracket rbracket {
|
||||||
|
{opening = LBracket $1;
|
||||||
|
elements = None;
|
||||||
|
terminator = None;
|
||||||
|
closing = RBracket $2} }
|
||||||
|
|
||||||
(* Main *)
|
(* Main *)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user