This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Symbolic replacement
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: shreyas76 at gmail dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 14 Sep 2005 21:53:45 +0200
- Subject: Re: Symbolic replacement
- References: <24389fb30509140844c51130@mail.gmail.com>
- Reply-to: richard dot guenther at gmail dot com
On 9/14/05, shreyas krishnan <shreyas76@gmail.com> wrote:
> Hi,
> I am trying to find out whats the best way to do the following.
> I want to replace some pre-defined variables at a few pre-defined
> line with a new temperory variable. I guess the front-end should be
> the best place to do it. Do I need to do this for each rule in
> c-parse.y ? Is there a more simpler and common way to handle it. ?
Use ed. If you have line-numbers and variable names that's the easiest.
Richard.
> thanks for any suggestions
> Shrey
>