mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-26 06:49:33 +00:00
Rez: allow trailing commas, like the original Rez does
This commit is contained in:
parent
6f47ae00aa
commit
303428e10a
@ -492,6 +492,7 @@ resource_body1 : resource_item { $$ = std::make_shared<CompoundExpr>(@1); $$->ad
|
||||
| resource_body1 "," resource_item { $$ = $1; $$->addItem($3); }
|
||||
| resource_body1 ";" resource_item { $$ = $1; $$->addItem($3); }
|
||||
| resource_body1 ";" { $$ = $1; }
|
||||
| resource_body1 "," { $$ = $1; }
|
||||
;
|
||||
|
||||
resource_item : value { $$ = $1; }
|
||||
|
Loading…
Reference in New Issue
Block a user