From: Florian Forster Date: Thu, 21 Jun 2007 08:40:49 +0000 (+0200) Subject: liboconfig: Added `%option noyywrap' to the scanner. X-Git-Tag: collectd-4.0.4~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=486ca25992f54c6dba10075ed9edf1fe584a1c11;p=collectd.git liboconfig: Added `%option noyywrap' to the scanner. This should solve the link issues when collectd is built without flex being installed. --- diff --git a/src/liboconfig/scanner.l b/src/liboconfig/scanner.l index 646bbc63..4d9fc3de 100644 --- a/src/liboconfig/scanner.l +++ b/src/liboconfig/scanner.l @@ -23,6 +23,7 @@ #include "parser.h" %} %option yylineno +%option noyywrap WHITE_SPACE [\ \t\b] QUOTED_STRING \"([^\\"]+|\\.)*\" UNQUOTED_STRING [0-9A-Za-z_]+