* src/flex-scanner.h: For the sake of Flex 2.5.4, don't #define yyleng

and yytext if they're already #define'd.
* src/flex-scanner.h, src/location.h: Move #include "system.h" to...
* src/scan-code-c.c: ... here.
* src/scan-code.l, src/scan-gram.l: ... and here.  Also #include
<config.h>.
This commit is contained in:
Joel E. Denny
2006-06-07 21:17:35 +00:00
parent a898d2780f
commit 9e6688995e
6 changed files with 23 additions and 6 deletions

View File

@@ -24,6 +24,9 @@
%option prefix="code_" outfile="lex.yy.c"
%{
#include <config.h>
#include "system.h"
/* Work around a bug in flex 2.5.31. See Debian bug 333231
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333231>. */
#undef code_wrap