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:
5d903ef
)
conffile.fl: Use %option noyywrap rather than providing yywrap
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 28 Sep 2019 10:39:04 +0000
(11:39 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 28 Sep 2019 10:39:04 +0000
(11:39 +0100)
Prompted by review of
fe0c91cce702
"configure.in, conffile.fl: Remove dependency on `libfl.a'."
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 77c1e2c812c10a2db6b452b6a65aed61041fd24c..6b0259cdeccb58f07eaa4959ffb9e41b757aa033 100644
(file)
--- a/
conffile.fl
+++ b/
conffile.fl
@@
-22,6
+22,7
@@
%option nounput
%option noinput
%option never-interactive
%option nounput
%option noinput
%option never-interactive
+%option noyywrap
%{
#include <assert.h>
%{
#include <assert.h>
@@
-169,7
+170,3
@@
include BEGIN(incl);
/* Return all unclaimed single characters to the parser */
. return *yytext;
/* Return all unclaimed single characters to the parser */
. return *yytext;
-
-%%
-
-int yywrap(void) { return 1; }