From: Ian Jackson Date: Sat, 28 Sep 2019 10:39:04 +0000 (+0100) Subject: conffile.fl: Use %option noyywrap rather than providing yywrap X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/commitdiff_plain/b11a9de31a4765c1aa1c53131d8f24019e408572?ds=sidebyside conffile.fl: Use %option noyywrap rather than providing yywrap Prompted by review of fe0c91cce702 "configure.in, conffile.fl: Remove dependency on `libfl.a'." Signed-off-by: Ian Jackson --- diff --git a/conffile.fl b/conffile.fl index 77c1e2c..6b0259c 100644 --- a/conffile.fl +++ b/conffile.fl @@ -22,6 +22,7 @@ %option nounput %option noinput %option never-interactive +%option noyywrap %{ #include @@ -169,7 +170,3 @@ include BEGIN(incl); /* Return all unclaimed single characters to the parser */ . return *yytext; - -%% - -int yywrap(void) { return 1; }