aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2007-08-07 15:31:56 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2007-08-07 15:31:56 +0000
commit049e9ad97ecf7140dea055c6f80473396f2d2fb9 (patch)
tree4b6817a36bfd7717c14c6948912b9b5026b512af /gcc
parent536e0a8f3196e986875b8d85ccb95417e903a39c (diff)
downloadgcc-049e9ad97ecf7140dea055c6f80473396f2d2fb9.zip
gcc-049e9ad97ecf7140dea055c6f80473396f2d2fb9.tar.gz
gcc-049e9ad97ecf7140dea055c6f80473396f2d2fb9.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gengtype-lex.l1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9b40d76..9e0e4bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/gengtype-lex.l b/gcc/gengtype-lex.l
index 9ebe0cc..8cec71b3 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; }