Compare commits

...

1 Commits

Author SHA1 Message Date
Umur Ozkul
fb43cb3bb4 fix #1059 - empty record 2022-10-04 13:27:37 +02:00

View File

@ -276,8 +276,10 @@ arrayConstructor 'array'
{ return [head, ...tail]; }
recordConstructor 'record'
= '{' _nl args:array_recordArguments _nl end_of_record
{ return h.constructRecord(args); }
= '{' _nl end_of_record
{ return h.constructRecord([]); }
/ '{' _nl args:array_recordArguments _nl end_of_record
{ return h.constructRecord(args); }
end_of_record
= '}'