diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | parser.l | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2009-11-28 Kaz Kylheku <kkylheku@gmail.com> + * parser.l: Use flex options to suppress generation of the + unused functons yyunput and yyinput, thus getting rid of + some compiler diagnostics. + +2009-11-28 Kaz Kylheku <kkylheku@gmail.com> + Code cleanup. All private functions static. Private stuff in regex module not exposed in header. Etc. @@ -167,6 +167,8 @@ static wchar_t num_esc(char *num) %} %option stack +%option nounput +%option noinput TOK :?[a-zA-Z_][a-zA-Z0-9_]*|[+-]?[0-9]+ ID_END [^a-zA-Z0-9_] |