bison-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] api.push-pull: complain about YYSTACK_USE_ALLOCA=1.


From: Joel E. Denny
Subject: Re: [PATCH] api.push-pull: complain about YYSTACK_USE_ALLOCA=1.
Date: Sat, 26 Sep 2009 00:35:21 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Wed, 16 Sep 2009, Akim Demaille wrote:

> Le 13 sept. 2009 à 22:01, Joel E. Denny a écrit :
> 
> > I'd like to push this patch to master, branch-2.5, and branch-2.4.2 so
> > that push parser users are informed that they can't set
> > YYSTACK_USE_ALLOCA=1.  The only way I can see to do this is with #error in
> > yacc.c.  However, I don't see any other use of #error in the skeletons.
> > Is there any reason not to use it?
> 
> In a distant past, when free(0) could not be trusted, there was also compilers
> (well, preprocessors), that die on #unknown directives, even if inside a
> skipped #if section.
> 
> I suppose this is no longer the case, so let's do it.  But I wouldn't in 2.4.2
> though.  Let's drop knr completely in 2.5, not before.

Thanks.  I wasn't aware of that history.  Given that the poll will offer 
the possibility of maintaining K&R, perhaps I should wait until we get 
some poll results.

BTW, we should state a time limit for the poll at least as far as it will 
affect the 2.5 release.

reply via email to

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