[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %glr-parser & %pure-parser
From: |
Frans Englich |
Subject: |
Re: %glr-parser & %pure-parser |
Date: |
Tue, 29 May 2007 09:54:08 +0200 |
User-agent: |
KMail/1.9.1 |
On Saturday 26 May 2007 21:13, Joel E. Denny wrote:
> On Fri, 25 May 2007, Frans Englich wrote:
> > adds %glr-parser under %pure-parser, two things happens beyond changing
> > the parser algorithm:
> >
> > * It copies all the code in the c++ section into the header.
>
> This is addressed in test release 2.3a. See the heading "Handling of
> traditional Yacc prologue blocks" in NEWS. However, the "alternative to
> the traditional Yacc prologue blocks" presented there have been replaced
> in CVS, so be careful about using those.
>
> > * It puts "extern YYSTYPE lval;" in the header.
>
> Thanks. I committed the following to fix that.
Thanks for the swift fixes and reply.
I tried out 2.3a and it seems to work better than expected: I don't get the
"extern YYSTYPE lval;" line. I first thought the 2.3a package had been
updated to contain your committed fix, but it seems to be something in 2.3a
that made that bug disappear for me.
Cheers,
Frans