re PR bootstrap/32973 (bootstrap failure with indented structure declaration in macro)

PR bootstrap/32973
	* gengtype-lex.l: Ignore backslash/newline pair while scanning a
	struct definition.

From-SVN: r127272
This commit is contained in:
Andreas Schwab 2007-08-07 15:31:56 +00:00 committed by Andreas Schwab
parent 536e0a8f31
commit 049e9ad97e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-08-07 Andreas Schwab <schwab@suse.de>
PR bootstrap/32973
* gengtype-lex.l: Ignore backslash/newline pair while scanning a
struct definition.
2007-08-07 Andreas Krebbel <krebbel1@de.ibm.com>
* lower-subreg.c (resolve_subreg_use): Remove assertion.

View File

@ -104,6 +104,7 @@ EOID [^[:alnum:]_]
"/*" { BEGIN(in_struct_comment); }
{WS} { update_lineno (yytext, yyleng); }
\\\n { lexer_line.line++; }
"const"/{EOID} /* don't care */
"GTY"/{EOID} { return GTY_TOKEN; }