fix %top error

This commit is contained in:
anon 2024-09-16 00:06:39 +02:00
parent 52e449e480
commit a96cecbe83

@ -57,7 +57,7 @@ definition_section
top top
: TOP CODE_BLOB { : TOP CODE_BLOB {
if (top) { if (top) {
puts("error: reee"); yyerror("multiple %%top statements found, but only one is allowed");
return 1; return 1;
} }
top = $2; top = $2;