[Top][All Lists]

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

Re: remove YYFAIL from and yacc.c

From: Joel E. Denny
Subject: Re: remove YYFAIL from and yacc.c
Date: Mon, 21 Dec 2009 03:42:24 -0500 (EST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Mon, 21 Dec 2009, Paolo Bonzini wrote:

> > I'd like to push the first patch to master, branch-2.5, and branch-2.4.2
> > in order to formally deprecate YYFAIL.
> I'm fine with removing it at once from the Java parser

OK, I'll make that adjustment.

> , and I think that
> breaking YYFAIL now for %error-verbose is fine too.

Google code search turns up an instance where both are used:\.y&sbtn=Search

I'm afraid there may be more instances that are not online.

> However, I'm afraid that
> without verbose errors we should keep it indefinitely though undocumented, so
> there's probably no point in warning.

I agree we may have to keep it for a long time, but hopefully the warning 
will prompt users to explore at least why YYFAIL is deprecated.  Maybe I 
should make the warning even stronger by saying that YYFAIL will 
eventually be removed.

reply via email to

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