From 40b60e1ce518309b7a3d93c0ce4346137bd7b6e7 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 11 Feb 2017 20:13:36 +0100 Subject: Work around GNU flex madness around yywrap(). --- rcfile_l.l | 8 +++++--- 1 file 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 + + %% \"[^\"]*\" | -- cgit v1.2.3