From b11a9de31a4765c1aa1c53131d8f24019e408572 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 28 Sep 2019 11:39:04 +0100 Subject: [PATCH] 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 --- conffile.fl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; } -- 2.11.0