summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-12-17 14:33:18 (GMT)
committerBrad King <brad.king@kitware.com>2008-12-17 14:33:18 (GMT)
commitae7f2b47b3f94ec023f19474755cc76a2c0c6edc (patch)
tree540ae2df2fe2c2599646a80384db2c1319f066a4 /Source/cmCommandArgumentLexer.in.l
parent3958b3e112b7c33d40129a16811a2eff69495a42 (diff)
downloadCMake-ae7f2b47b3f94ec023f19474755cc76a2c0c6edc.zip
CMake-ae7f2b47b3f94ec023f19474755cc76a2c0c6edc.tar.gz
CMake-ae7f2b47b3f94ec023f19474755cc76a2c0c6edc.tar.bz2
COMP: Fix unused yyunput warning in lexer
This adds the "nounput" option to the flex input file so that yyunput is not generated. The function is static but not used so some compilers warn.
Diffstat (limited to 'Source/cmCommandArgumentLexer.in.l')
-rw-r--r--Source/cmCommandArgumentLexer.in.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCommandArgumentLexer.in.l b/Source/cmCommandArgumentLexer.in.l
index f75dedb..b823927 100644
--- a/Source/cmCommandArgumentLexer.in.l
+++ b/Source/cmCommandArgumentLexer.in.l
@@ -56,6 +56,7 @@ Modify cmCommandArgumentLexer.h:
%option reentrant
%option noyywrap
+%option nounput
%pointer
%s ESCAPES
%s NOESCAPES