[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remove YYFAIL from lalr1.java and yacc.c
From: |
Joel E. Denny |
Subject: |
Re: remove YYFAIL from lalr1.java 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:
http://www.google.com/codesearch?hl=en&lr=&q=%25error-verbose+YYFAIL+file%3A\.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.
- remove YYFAIL from lalr1.java and yacc.c, Joel E. Denny, 2009/12/19
- Re: remove YYFAIL from lalr1.java and yacc.c, Paolo Bonzini, 2009/12/20
- Re: remove YYFAIL from lalr1.java and yacc.c, Joel E. Denny, 2009/12/20
- Re: remove YYFAIL from lalr1.java and yacc.c, Paolo Bonzini, 2009/12/21
- Re: remove YYFAIL from lalr1.java and yacc.c,
Joel E. Denny <=
- Re: remove YYFAIL from lalr1.java and yacc.c, Paolo Bonzini, 2009/12/21
- Re: remove YYFAIL from lalr1.java and yacc.c, Joel E. Denny, 2009/12/21
- Re: remove YYFAIL from lalr1.java and yacc.c, Paolo Bonzini, 2009/12/22
- Re: remove YYFAIL from lalr1.java and yacc.c, Joel E. Denny, 2009/12/22