try %option nounput and see if we can remove a warning

This commit is contained in:
Love Hornquist Astrand
2010-11-26 12:01:14 -08:00
parent b50919b853
commit f13335985f

View File

@@ -52,6 +52,9 @@ static char * handle_string(void);
#undef ECHO
%}
%option nounput
%%
[A-Za-z][-A-Za-z0-9_]* {
yylval.string = strdup ((const char *)yytext);