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
_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison