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