[a-z]+ got_identifier(); foo got_foo();Using
REJECT
in a scanner suppresses this warning.
REJECT
or `yymore()' but that flex
failed to notice the
fact, meaning that flex
scanned the first two sections
looking for occurrences of these actions and failed to
find any, but somehow you snuck some in (via a #include
file, for example). Use `%option reject' or `%option yymore'
to indicate to flex that you really do use these features.
MAX
constant (8K bytes by default). You can increase the
value by #define'ing YYLMAX
in the definitions section of
your flex
input.
yytext
.
Ideally the scanner should dynamically resize the buffer
in this case, but at present it does not.
REJECT
.
yyrestart( yyin );or, as noted above, switch to using the C++ scanner class.