* Fix bootstrap on arm-netbsdelf (PR32973)
@ 2007-08-04 18:47 Andreas Schwab
2007-08-07 16:02 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2007-08-04 18:47 UTC (permalink / raw)
To: gcc-patches
This fixes bootstrap on arm-netbsdelf by ignoring an BS/NL pair while
scanning a struct definition. Regtested on ia64-linux, and tested by
Richard Earnshaw on arm-netbsdelf.
Andreas.
2007-08-04 Andreas Schwab <schwab@suse.de>
PR bootstrap/32973
* gengtype-lex.l: Ignore backslash/newline pair while scanning a
struct definition.
Index: gcc/gengtype-lex.l
===================================================================
--- gcc/gengtype-lex.l (revision 127178)
+++ gcc/gengtype-lex.l (working copy)
@@ -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; }
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix bootstrap on arm-netbsdelf (PR32973)
2007-08-04 18:47 Fix bootstrap on arm-netbsdelf (PR32973) Andreas Schwab
@ 2007-08-07 16:02 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2007-08-07 16:02 UTC (permalink / raw)
To: gcc-patches
> 2007-08-04 Andreas Schwab <schwab@suse.de>
>
> PR bootstrap/32973
> * gengtype-lex.l: Ignore backslash/newline pair while scanning a
> struct definition.
I've checked this in now, since it's semi-obvious and fixes a bootstrap
problem.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-07 16:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-04 18:47 Fix bootstrap on arm-netbsdelf (PR32973) Andreas Schwab
2007-08-07 16:02 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).