[a-z]+ got_identifier(); foo got_foo();Using
REJECTin a scanner suppresses this warning.
REJECTor `yymore()' but that
flexfailed to notice the fact, meaning that
flexscanned 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.
MAXconstant (8K bytes by default). You can increase the value by #define'ing
YYLMAXin the definitions section of your
yytext. Ideally the scanner should dynamically resize the buffer in this case, but at present it does not.
yyrestart( yyin );or, as noted above, switch to using the C++ scanner class.