bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison b4_pre_prologue problem


From: Paul Eggert
Subject: Re: bison b4_pre_prologue problem
Date: Mon, 02 Jan 2006 14:58:23 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Akim Demaille <address@hidden> writes:

>>>> "Paul" == Paul Eggert <address@hidden> writes:
>
>  > twlevo asked the following question:
>
> I did not see the question, where was it posted?

He sent me questions via private mail.  I responded in bug-bison or
bison-patches as appropriate, and quotet him.  I agree it would be
simpler if he wrote <address@hidden> directly; I'm not sure why
he doesn't do that.

I'll quote the rest of your reply so that he can see it.

>  > Is ]b4_pre_prologue[ different in yacc mode?
>
> Yes, it is.  This is discussed below
>
> http://lists.gnu.org/archive/html/bison-patches/2005-12/msg00000.html
>
> and still not finished.
>
>  > Try the program at the end of this message with and without the
>  > `%glr-parser' line.
>
>  > is this correct?
>
> The starting point is that the header produced by glr tries to be
> self-contained, so the pre-prologue is copied before the definition of
> YYSTYPE and YYLTYPE.  But in yacc mode we can't do that.  Unless we
> decide to bind this to --yacc?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]