diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2008-05-28 20:26:41 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2008-05-28 20:26:41 +0000 |
commit | 12a56fa3ce0d65a25e7bcf68aba03d8ba189273f (patch) | |
tree | a3b8e5bbfd66c957c50d1c01f6f69ae367fd174c /lexxer.l | |
parent | 577f843f6d6fdad2332c7a5d4c8c3dbcc52fe5d0 (diff) | |
download | mig-12a56fa3ce0d65a25e7bcf68aba03d8ba189273f.tar.gz mig-12a56fa3ce0d65a25e7bcf68aba03d8ba189273f.tar.bz2 mig-12a56fa3ce0d65a25e7bcf68aba03d8ba189273f.zip |
2008-05-28 Thomas Schwinge <tschwinge@gnu.org>
[bug #23417: Building with -g3]
* lexxer.l (^\#define[ \t]): Ignore until EOL.
Diffstat (limited to 'lexxer.l')
-rw-r--r-- | lexxer.l | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |