X-Git-Url: http://git.tuebingen.mpg.de/?p=lopsub.git;a=blobdiff_plain;f=lopsubgen.l;h=a5b0c4f81de371bc4de07cea02ca359fc1d53119;hp=f5db52b2a56830487ca8c593572899a6c32eaee0;hb=76e953dde7347553b405863201dfb7859674206c;hpb=9d3fd447f36e1a144a40037d559a92562d120703 diff --git a/lopsubgen.l b/lopsubgen.l index f5db52b..a5b0c4f 100644 --- a/lopsubgen.l +++ b/lopsubgen.l @@ -4,7 +4,6 @@ * Licensed under the GPL v3, see http://www.gnu.org/licenses/gpl-3.0.html */ -%option noyywrap %option stack %option never-interactive %option yylineno @@ -45,6 +44,7 @@ #define CUROPT (CURCMD.options[CURCMD.num_options - 1]) #define CURSECT (suite.sections[suite.num_sections - 1]) + static int yywrap(void) {return 1;} static void *xmalloc(size_t size) { void *p; @@ -408,7 +408,7 @@ SIMPLE_STRING [[:alnum:]]([[:alnum:]]|[[:space:]])* exit(EXIT_FAILURE); } if (CUROPT.default_val) { - fprintf(stderr, "value list must preceed default value\n"); + fprintf(stderr, "value list must precede default value\n"); exit(EXIT_FAILURE); } BEGIN(SC_VALUES_ID);