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,7 +276,9 @@ 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([]); }
/ '{' _nl args:array_recordArguments _nl end_of_record
{ return h.constructRecord(args); } { return h.constructRecord(args); }
end_of_record end_of_record