mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-10 11:49:42 +00:00
Fix compilation of empty resources as generated by MPW's DeRez
This commit is contained in:
parent
2c6272e5b1
commit
5a4d8d4db8
@ -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