YYFAIL: deprecate.

* NEWS (2.4.2): Document deprecation and the phase-out plan.
* data/lalr1.java (parser::YYStack::YYFAIL): Add comment about
deprecation.
* data/yacc.c (YYFAIL): Likewise, and suppress warnings about
YYFAIL from GCC cpp's -Wunused-macros.
* doc/bison.texinfo (Java Action Features): Remove YYFAIL
documentation.
(LocalWords): Remove YYFAIL.
This commit is contained in:
Joel E. Denny
2009-12-21 14:51:40 -05:00
parent 5335b65a79
commit 1625df5b18
7 changed files with 425 additions and 360 deletions

View File

@@ -352,7 +352,8 @@ b4_lexer_if([[
/**
* Returned by a Bison action in order to print an error message and start
* error recovery. */
* error recovery. Formally deprecated in Bison 2.4.2's NEWS entry, where
* a plan to phase it out is discussed. */
public static final int YYFAIL = 3;
private static final int YYNEWSTATE = 4;