chiark
/
gitweb
/
~mdw
/
secnet
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24976b
)
cleanup: turn off some unused flex options
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 25 May 2011 20:00:06 +0000
(21:00 +0100)
committer
Ian 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
patch
|
blob
|
blame
|
history
diff --git
a/conffile.fl
b/conffile.fl
index 27e725d078bb45b60e1404a97fe7e173f46d81aa..c169b572e8a54beae15d7d368f9d5dbc519de78f 100644
(file)
--- a/
conffile.fl
+++ b/
conffile.fl
@@
-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>