bison-patches
[Top][All Lists]
Advanced

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

Re: [Main] %union can be define in user declaration.


From: Akim Demaille
Subject: Re: [Main] %union can be define in user declaration.
Date: 14 Jan 2002 18:19:29 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Pascal" == Pascal Bart <address@hidden> writes:

Pascal> Hello, This patch defines YYSTYPE at the same place that
Pascal> %union. It repairs the example of gettext, and leave user to
Pascal> use their own type in %union and to have an object of YYSTYPE
Pascal> type in the user declarations.  I need to make tests for this,
Pascal> but I don't know in which section to put it and how to name
Pascal> it, should I make a new test section ?

Hi,

I think this is the wrong approach.  It seems a bit too complex to
me.  I was merely asking for the removal of the %yystype _use_ in the
skeletons (but do not remove the code), and for the output of the
definition directly into %prologue.



reply via email to

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