]> git.saurik.com Git - bison.git/blobdiff - NEWS
YYFAIL: warn about uses and remove from lalr1.java.
[bison.git] / NEWS
diff --git a/NEWS b/NEWS
index 492aa87672ce6d1aec4c1db521d01f2deab57d9c..d6eed9123bb0e27eaac991e6ab5d642d54a4e494 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -119,6 +119,17 @@ Bison News
   POSIX Yacc whose use is reported by -Wyacc, and rejected in Yacc
   mode (--yacc).
 
+** YYFAIL now produces warnings and Java parsers no longer implement it.
+
+  YYFAIL has existed for many years as an undocumented feature of
+  deterministic parsers in C generated by Bison.  More recently, it was
+  a documented feature of Bison's experimental Java parsers.  As
+  promised in Bison 2.4.2's NEWS entry, any appearance of YYFAIL in a
+  semantic action now produces a deprecation warning, and Java parsers
+  no longer implement YYFAIL at all.  For further details, including a
+  discussion of how to suppress C preprocessor warnings about YYFAIL
+  being unused, see the Bison 2.4.2 NEWS entry.
+
 ** Temporary hack for adding a semicolon to the user action.
 
   Previously, Bison appended a semicolon to every user action for