false error bug fix

This commit is contained in:
anon 2024-07-05 22:50:26 +02:00
parent e7f392edbc
commit 4157b4db3c

View File

@ -169,6 +169,9 @@ machine { BEGIN INITIAL; return END_MACHINE; }
yylval.intval = strtol(yytext + 2, NULL, 16);
return LITERAL;
}
}
<IN_ARTIMETRIC_BLOCK>{
<<EOF>> { yytext = strdup("<EOF>"); yyerror("unterminated artimetric block"); yyterminate(); }
}