X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/8445442abc02fc325a9ce228759403113583818c..86d4727e727a55648196205cff450c96569ec4a6:/src/lexer.l diff --git a/src/lexer.l b/src/lexer.l index d59a3d9..d33965d 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -1,4 +1,6 @@ -/* GOB C Preprocessor +%top{ +/* + * GOB C Preprocessor * Copyright (C) 1999-2000 the Free Software Foundation. * Copyright (C) 2000 Eazel, Inc. * Copyright (C) 2001-2011 George (Jiri) Lebl @@ -20,9 +22,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ -%{ +#include +} -#include "config.h" +%{ #include #include #include @@ -657,7 +660,7 @@ flags { return FLAGS; } p = strchr (yytext,'p'); g_assert (p); /* we MUST have found it */ sscanf (p, "prealloc %d", &t); - prealloc=t; + npreallocs=t; } %%