fix #1059 - empty record
This commit is contained in:
parent
60f464ebac
commit
fb43cb3bb4
|
@ -276,7 +276,9 @@ arrayConstructor 'array'
|
|||
{ return [head, ...tail]; }
|
||||
|
||||
recordConstructor 'record'
|
||||
= '{' _nl args:array_recordArguments _nl end_of_record
|
||||
= '{' _nl end_of_record
|
||||
{ return h.constructRecord([]); }
|
||||
/ '{' _nl args:array_recordArguments _nl end_of_record
|
||||
{ return h.constructRecord(args); }
|
||||
|
||||
end_of_record
|
||||
|
|
Loading…
Reference in New Issue
Block a user