diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lexxer.l | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-05-28 Thomas Schwinge <tschwinge@gnu.org> + + [bug #23417: Building with -g3] + * lexxer.l (^\#define[ \t]): Ignore until EOL. + 2007-06-02 Thomas Schwinge <tschwinge@gnu.org> * global.c (LintLib): Remove definition. @@ -213,6 +213,9 @@ static void doSharp(const char *body); /* process body of # directives */ ^\#\ *{Number} { doSharp(yytext+1); SAVE_BEGIN; BEGIN SkipToEOL; } +^\#define[ \t] { /* GCC's pre-processor might emit those. */ + SAVE_BEGIN; + BEGIN SkipToEOL; } ^\# { yyerror("illegal # directive"); SAVE_BEGIN; BEGIN SkipToEOL; } |