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: Akim Demaille
Subject: Re: bison b4_pre_prologue problem
Date: Mon, 02 Jan 2006 14:24:38 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

>>> "Paul" == Paul Eggert <address@hidden> writes:

 > twlevo asked the following question:

I did not see the question, where was it posted?

 > 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]