Fix compilation of empty resources as generated by MPW's DeRez

This commit is contained in:
Brian Kendall 2024-06-02 11:31:43 -04:00
parent 2c6272e5b1
commit 5a4d8d4db8

View File

@ -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);
}
;
%%