From: Andrew Cagney <ac131313@ges.redhat.com>
To: Jason R Thorpe <thorpej@wasabisystems.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFA] yyrule, yyname remap in .y files
Date: Mon, 02 Sep 2002 17:53:00 -0000 [thread overview]
Message-ID: <3D740805.5040702@ges.redhat.com> (raw)
In-Reply-To: <20020902112320.K4034@dr-evil.shagadelic.org>
> Accoring to the ChangeLogs, there was some excitement about this back
> in 1992.
>
> In any case, the fact remains that some versions of yacc(1) export yyrule
> and yyname when YYDEBUG is enabled. YYDEBUG is enabled by default in the
> .y files.
>
> This is worked around on the i386-openbsd host by setting MH_CFLAGS
> to -DYYDEBUG=0.
>
> Now, I could do that for every single NetBSD host, but it seems a little
> silly do have to work around this in multiple places for multiple hosts
> when we could just remap these symbols and just be done with it. This
> patch does that.
>
> OK to commit?
>
> * ada-exp.y (yyname, yyrule): Remap global variables that appear
> when YYDEBUG is set to 1.
> * c-exp.y: Likewise.
> * f-exp.y: Likewise.
> * jv-exp.y: Likewise.
> * m2-exp.y: Likewise.
> * p-exp.y: Likewise.
Yes, ok.
Andrew
prev parent reply other threads:[~2002-09-03 0:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 11:23 Jason R Thorpe
2002-09-02 17:53 ` Andrew Cagney [this message]
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=3D740805.5040702@ges.redhat.com \
--to=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=thorpej@wasabisystems.com \
/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