From: Andreas Schwab Date: Tue, 7 Aug 2007 15:31:56 +0000 (+0000) Subject: re PR bootstrap/32973 (bootstrap failure with indented structure declaration in macro) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049e9ad97ecf7140dea055c6f80473396f2d2fb9;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b40d767477..9e0e4bffc9d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-08-07 Andreas Schwab + + PR bootstrap/32973 + * gengtype-lex.l: Ignore backslash/newline pair while scanning a + struct definition. + 2007-08-07 Andreas Krebbel * lower-subreg.c (resolve_subreg_use): Remove assertion. diff --git a/gcc/gengtype-lex.l b/gcc/gengtype-lex.l index 9ebe0ccf880..8cec71b30ff 100644 --- a/gcc/gengtype-lex.l +++ b/gcc/gengtype-lex.l @@ -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; }