YYFAIL: remove.

* data/lalr1.java, data/yacc.c, src/scan-code.l: Remove YYFAIL support.
* NEWS, TODO: Update.
This commit is contained in:
Akim Demaille
2012-07-22 20:17:54 +02:00
parent a34361a52a
commit 47db7ed1a8
5 changed files with 10 additions and 44 deletions

View File

@@ -728,11 +728,6 @@ m4_popdef([b4_at_dollar])])dnl
if (yyErrorVerbose)
{
/* There are many possibilities here to consider:
- Assume YYFAIL is not used. It's too flawed to consider.
See
<http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html>
for details. YYERROR is fine as it does not invoke this
function.
- If this state is a consistent state with a default action,
then the only way this function was invoked is if the
default action is an error action. In that case, don't