diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-10-04 11:34:59 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-10-06 15:14:17 -0400 |
commit | 712dd8b572114a3605e4f4c444eabefbfb0522aa (patch) | |
tree | b8bc47e82aca7e55bce0d8af775493229a50f042 | |
parent | 6bd01a2e98909aa9083304ce93f7c1c0853c0fb0 (diff) |
Disable unused input and unput lex functions
Fixes gcc warnings:
laylex.c:1316:17: warning: 'yyunput' defined but not used [-Wunused-function]
laylex.c:1357:16: warning: 'input' defined but not used [-Wunused-function]
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
-rw-r--r-- | src/laylex.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/laylex.l b/src/laylex.l index 2574782..c85e766 100644 --- a/src/laylex.l +++ b/src/laylex.l @@ -1,5 +1,7 @@ %option prefix="LayYY" %option outfile="lex.yy.c" +%option noinput +%option nounput %{ #ifndef FLEX_SCANNER #undef input |