chiark / gitweb /
cleanup: turn off some unused flex options
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 25 May 2011 20:00:06 +0000 (21:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Jun 2011 15:34:21 +0000 (16:34 +0100)
We do not use yyunput or yyinput.  Turning them off slightly improves
the scanner performance (not that that's important) but also prevents
"defined but not used" compiler warnings.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
conffile.fl

index 27e725d..c169b57 100644 (file)
@@ -1,6 +1,9 @@
 /* the "incl" state is used for picking up the name of an include file */
 %x incl
 
+%option nounput
+%option noinput
+
 %{
 #include <stdio.h>
 #include <stdlib.h>