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 27e725d078bb45b60e1404a97fe7e173f46d81aa..c169b572e8a54beae15d7d368f9d5dbc519de78f 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>