[Top][All Lists]

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

Re: Regression in 2.4 ??

From: Joel E. Denny
Subject: Re: Regression in 2.4 ??
Date: Sun, 9 Nov 2008 18:24:49 -0500 (EST)

On Sun, 9 Nov 2008, Nelson Ferreira wrote:

> but I still am confused then about what this actually does:
> #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
> # define yystype YYSTYPE /* obsolescent; will be withdrawn */
> #endif

I can't think of any reason why it's needed in this case (that is, <...> 
is seen but there's no %union).  I'll leave it up to other developers to 
decide whether it can be removed for Bison 2.5.  Thanks for the report.

> I mean, is this not misleading other code that interfaces with yours?
> After all you are stating with #define YYSTYPE_IS_DECLARED 1 that YYSTYPE is
> available
> when you cannot actually say that.

YYSTYPE_IS_DECLARED is not documented anywhere and is thus for Bison's 
internal use.  Users should not depend on it, so I don't think this issue 
needs to be addressed in Bison 2.4.1.

reply via email to

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