abacus: parse: scanner: define yyterminate

This commit is contained in:
Bruno BELANYI 2021-08-23 00:24:05 +02:00
parent 2d437a2583
commit 46a0655e72

View file

@ -20,6 +20,9 @@
%{
// Run at each match
#define YY_USER_ACTION loc.columns(yyleng);
// When getting EOF
#define yyterminate() return yy::parser::make_EOF(loc)
%}
blank [ \t\r]