[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4sugar
From: |
Bob Rossi |
Subject: |
Re: m4sugar |
Date: |
Fri, 10 Feb 2006 17:36:46 -0500 |
User-agent: |
Mutt/1.5.9i |
On Fri, Feb 10, 2006 at 06:52:46AM -0500, Bob Rossi wrote:
> On Fri, Feb 10, 2006 at 07:34:11AM +0100, Akim Demaille wrote:
> >
> > Le 10 févr. 06 à 02:35, Bob Rossi a écrit :
> >
> > [bison patches in CC]
> >
> > >>The first place to look at is certainly yacc.c. Rename it push.c for
> > >>instance, and toy with it. Try to port the work from Odd into it.
> > >>Maybe you should try to diff yacc.c and odd's skeleton at that time,
> > >>and port that diff to the current yacc.c.
> > >
> > >Hi Akim,
> > >
> > >At this point, I'm simply trying to understand how m4 is invoked to
> > >create the generated c file from yacc.c. If I run bison with --trace I
> > >see the command
> > > /usr/bin/m4
> > > /home/bob/download/bison/bison-2.1/target/share/bison/m4sugar/
> > >m4sugar.m4
> > > - /home/bob/download/bison/bison-2.1/target/share/bison/c.m4
> > > /home/bob/download/bison/bison-2.1/target/share/bison/yacc.c
> > >
> > >Since I'm learning m4 for the first time, I was hoping you could
> > >confirm
> > >some of the understanding I have of what's going on above.
> >
> > Are you sure you are using the CVS version of Bison? c.m4 should be
> > included by yacc.c, not fed to m4 by bison.
>
> Oops, I playing around with bison-2.1, I'll check out CVS, thanks.
OK, OK, I'm a bison newbie. I've checked out CVS. Now, what do other
bison hackers do to generate the configure script? Should I be using the
bootstrap script?
Thanks,
Bob Rossi
- Re: m4sugar, Akim Demaille, 2006/02/10
- Re: m4sugar, Bob Rossi, 2006/02/10
- Re: m4sugar,
Bob Rossi <=
- Re: m4sugar, Bob Rossi, 2006/02/10
- Re: m4sugar, Joel E. Denny, 2006/02/10
- Re: m4sugar, Bob Rossi, 2006/02/10
- Re: m4sugar, Joel E. Denny, 2006/02/10
- Re: m4sugar, Bob Rossi, 2006/02/10
- Re: m4sugar, Joel E. Denny, 2006/02/11
- Re: m4sugar, Paul Eggert, 2006/02/11