From f13335985f71f0ed878a7de4d0e4bed0c74537c1 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Fri, 26 Nov 2010 12:01:14 -0800 Subject: [PATCH] try %option nounput and see if we can remove a warning --- lib/sl/slc-lex.l | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sl/slc-lex.l b/lib/sl/slc-lex.l index 8b7e50d2d..1099ede32 100644 --- a/lib/sl/slc-lex.l +++ b/lib/sl/slc-lex.l @@ -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);