From: Andreas Schwab <schwab@linux-m68k.org>
To: "Daniel Richard G." <skunk@iSKUNK.ORG>
Cc: gcc-patches@gcc.gnu.org, John David Anglin <danglin@gcc.gnu.org>
Subject: Re: [Bug bootstrap/53607] opt-functions.awk --> "awk: There is a regular expression error."
Date: Sun, 06 Jan 2013 17:45:00 -0000 [thread overview]
Message-ID: <m27gnq6w8u.fsf@igel.home> (raw)
In-Reply-To: <1357490975.23068.140661174083089.5B023E3C@webmail.messagingengine.com> (Daniel Richard G.'s message of "Sun, 06 Jan 2013 11:49:35 -0500")
"Daniel Richard G." <skunk@iSKUNK.ORG> writes:
> Index: gcc/opt-functions.awk
> ===================================================================
> --- gcc/opt-functions.awk (revision 194916)
> +++ gcc/opt-functions.awk (working copy)
> @@ -62,9 +62,9 @@
> if (flags !~ " " name "\\(")
> return ""
> sub(".* " name "\\(", "", flags)
> - if (flags ~ "^{")
> + if (flags ~ "^\{")
> {
> - sub ("^{", "", flags)
> + sub ("^\{", "", flags)
> sub("}\\).*", "", flags)
You need to escape the backslash inside a string.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2013-01-06 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-53607-8784@http.gcc.gnu.org/bugzilla/>
[not found] ` <bug-53607-8784-MBTnlKIggu@http.gcc.gnu.org/bugzilla/>
2013-01-06 16:49 ` Daniel Richard G.
2013-01-06 17:45 ` Andreas Schwab [this message]
2013-01-06 19:56 ` Daniel Richard G.
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=m27gnq6w8u.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=danglin@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=skunk@iSKUNK.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).