mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-10 19:56:03 +00:00
Merge pull request #249 from briankendall/fix-empty-resources
Fix compilation of empty resources as generated by MPW's DeRez
This commit is contained in:
commit
2abae70456
@ -500,10 +500,14 @@ resource_item : value { $$ = $1; }
|
||||
;
|
||||
|
||||
|
||||
data : "data" res_spec "{" string_expression "}"
|
||||
{
|
||||
world.addData($res_spec, $string_expression->evaluateString(nullptr), @1);
|
||||
}
|
||||
;
|
||||
data : "data" res_spec "{" string_expression "}"
|
||||
{
|
||||
world.addData($res_spec, $string_expression->evaluateString(nullptr), @1);
|
||||
}
|
||||
| "data" res_spec "{" "}"
|
||||
{
|
||||
world.addData($res_spec, "", @1);
|
||||
}
|
||||
;
|
||||
|
||||
%%
|
||||
|
Loading…
Reference in New Issue
Block a user