liboconfig: Added `%option noyywrap' to the scanner.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 21 Jun 2007 08:40:49 +0000 (10:40 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 21 Jun 2007 08:40:49 +0000 (10:40 +0200)
This should solve the link issues when collectd is built without flex being
installed.

src/liboconfig/scanner.l

index 646bbc6..4d9fc3d 100644 (file)
@@ -23,6 +23,7 @@
 #include "parser.h"
 %}
 %option yylineno
+%option noyywrap
 WHITE_SPACE [\ \t\b]
 QUOTED_STRING \"([^\\"]+|\\.)*\"
 UNQUOTED_STRING [0-9A-Za-z_]+