]> git.tuebingen.mpg.de Git - lopsub.git/blobdiff - lopsubgen.l
Fix three typos.
[lopsub.git] / lopsubgen.l
index f5db52b2a56830487ca8c593572899a6c32eaee0..a5b0c4f81de371bc4de07cea02ca359fc1d53119 100644 (file)
@@ -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);