From: Andreas Schwab <schwab@suse.de>
To: gcc-patches@gcc.gnu.org
Subject: Fix bootstrap on arm-netbsdelf (PR32973)
Date: Sat, 04 Aug 2007 18:47:00 -0000 [thread overview]
Message-ID: <jesl6z6sta.fsf@sykes.suse.de> (raw)
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."
next reply other threads:[~2007-08-04 18:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-04 18:47 Andreas Schwab [this message]
2007-08-07 16:02 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jesl6z6sta.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).