This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Richard.

> thanks for any suggestions
> Shrey
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]