mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-13 16:33:02 +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 "}"
|
data : "data" res_spec "{" string_expression "}"
|
||||||
{
|
{
|
||||||
world.addData($res_spec, $string_expression->evaluateString(nullptr), @1);
|
world.addData($res_spec, $string_expression->evaluateString(nullptr), @1);
|
||||||
}
|
}
|
||||||
;
|
| "data" res_spec "{" "}"
|
||||||
|
{
|
||||||
|
world.addData($res_spec, "", @1);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user