aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2017-02-11 20:13:36 +0100
committerMatthias Andree <matthias.andree@gmx.de>2017-02-11 20:13:36 +0100
commit40b60e1ce518309b7a3d93c0ce4346137bd7b6e7 (patch)
treea89a7fed55470bd2e2f6473416729cbd835045d8 /rcfile_l.l
parentbd9be99db5decc91a348b9abfe717b332ff0f5c0 (diff)
downloadfetchmail-40b60e1ce518309b7a3d93c0ce4346137bd7b6e7.tar.gz
fetchmail-40b60e1ce518309b7a3d93c0ce4346137bd7b6e7.tar.bz2
fetchmail-40b60e1ce518309b7a3d93c0ce4346137bd7b6e7.zip
Work around GNU flex madness around yywrap().
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l8
1 files changed, 5 insertions, 3 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index 996197d1..b4899a2c 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -27,14 +27,16 @@ int prc_lineno = 1;
#define YY_NO_INPUT
+int yywrap(void) { return 1; }
+
%}
-%option nounput noyywrap
-%option warn nodefault
-%option 8bit batch
+%option nounput yywrap warn nodefault 8bit batch
%s NAME AUTH
+
+
%%
\"[^\"]*\" |