fix %top error
This commit is contained in:
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user