aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lexxer.l3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a4b2aed..59898e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/lexxer.l b/lexxer.l
index 91d5f71..9725d0b 100644
--- a/lexxer.l
+++ b/lexxer.l
@@ -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; }