Code

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 646bbc63a618dd12931df8ab60d350bb3f6d3575..4d9fc3de811bce2f7b79da20b566e65171d9baa0 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_]+