diff options
author | Joel E. Denny <jdenny@clemson.edu> | 2009-12-21 14:51:40 -0500 |
---|---|---|
committer | Joel E. Denny <jdenny@clemson.edu> | 2009-12-22 12:53:17 -0500 |
commit | 41d35e54d59bebb68af3d2dde45a1f7e83b71b83 (patch) | |
tree | ad3f8c43d39aadcb13e332a5aa187b39d4810155 /doc | |
parent | 692d04cb6a220cada738abc1ff70686bb01c1ba6 (diff) | |
download | bison-41d35e54d59bebb68af3d2dde45a1f7e83b71b83.tar.gz |
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.
(cherry picked from commit 1625df5b18bc1ad696f149f059e6677ca0759dfc)
Conflicts:
src/parse-gram.c
src/parse-gram.h
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bison.texinfo | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 1906cd9b..faafaabc 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -9385,11 +9385,6 @@ Start error recovery without printing an error message. @xref{Error Recovery}. @end deffn -@deffn {Statement} {return YYFAIL;} -Print an error message and start error recovery. -@xref{Error Recovery}. -@end deffn - @deftypefn {Function} {boolean} recovering () Return whether error recovery is being done. In this state, the parser reads token until it reaches a known state, and then restarts normal @@ -10764,5 +10759,5 @@ grammatically indivisible. The piece of text it represents is a token. @c LocalWords: superclasses boolean getErrorVerbose setErrorVerbose deftypecv @c LocalWords: getDebugStream setDebugStream getDebugLevel setDebugLevel url @c LocalWords: bisonVersion deftypecvx bisonSkeleton getStartPos getEndPos -@c LocalWords: getLVal defvar YYFAIL deftypefn deftypefnx gotos msgfmt +@c LocalWords: getLVal defvar deftypefn deftypefnx gotos msgfmt @c LocalWords: subdirectory Solaris nonassociativity |