This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Symbolic replacement
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: richard dot guenther at gmail dot com
- Cc: shreyas76 at gmail dot com, gcc at gcc dot gnu dot org
- Date: Wed, 14 Sep 2005 16:01:33 -0400 (EDT)
- Subject: Re: Symbolic replacement
>
> 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.
Or use perl, awk, etc.
Also c-parse.y does not exist anymore.
Thanks,
Andrew Pinski