|
From: | Akim Demaille |
Subject: | Re: too many warnings from Bison CVS for Pike |
Date: | Wed, 22 Feb 2006 09:15:22 +0100 |
Le 22 févr. 06 à 01:57, Joel E. Denny a écrit :
On Wed, 22 Feb 2006, Hans Aberg wrote:On 21 Feb 2006, at 19:34, Joel E. Denny wrote:If this usage is fine, then I wonder how "lalr1.cc" supports non- POD typesmore than "yacc.c". A footnote in the same section says that `pseudo-unions' may alleviate this need for pointers in the future.
It does not currently.
Then the semantic type is a non-POD classOK, so you #define YYSTYPE, I take it. It seems that this usage isaddressed in "lalr1.cc", which I should have checked before. Akim, shoulda sentence about this usage be added to section `10.1.2 C++ Semantic Values'?
I'd like to avoid continuing working with defines, but since people seem to want to carve things into stone, let's do it. I dislike this, because it is not the way to go, that's merely the most convenient option at this point.
[Prev in Thread] | Current Thread | [Next in Thread] |