try %option nounput and see if we can remove a warning
This commit is contained in:
@@ -52,6 +52,9 @@ static char * handle_string(void);
|
|||||||
#undef ECHO
|
#undef ECHO
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
%option nounput
|
||||||
|
|
||||||
%%
|
%%
|
||||||
[A-Za-z][-A-Za-z0-9_]* {
|
[A-Za-z][-A-Za-z0-9_]* {
|
||||||
yylval.string = strdup ((const char *)yytext);
|
yylval.string = strdup ((const char *)yytext);
|
||||||
|
Reference in New Issue
Block a user