diff options
author | Joel E. Denny <joeldenny@joeldenny.org> | 2011-03-06 12:46:27 -0500 |
---|---|---|
committer | Joel E. Denny <joeldenny@joeldenny.org> | 2011-03-06 15:53:16 -0500 |
commit | d815ec4a6290e18fac9220438622f6dd27b3227f (patch) | |
tree | 2922fa742c5c745e670aae27042b6bc3973a8859 /doc | |
parent | 6f04ee6c78ba01f9d8e02dbe2baace0c3bd8f4fd (diff) | |
download | bison-d815ec4a6290e18fac9220438622f6dd27b3227f.tar.gz |
lr.default-reductions: rename "all" value to "full".
States that shift the error token do not have default reductions,
and GLR disables some default reductions, so "all" was a misnomer.
* doc/bison.texinfo (%define Summary): Update.
(Default Reductions): Update.
* src/print.c (print_reductions): Update.
* src/reader.c (prepare_percent_define_front_end_variables):
Update.
* src/tables.c (action_row): Update.
* tests/input.at (%define enum variables): Update.
* tests/reduce.at (%define lr.default-reductions): Update.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bison.texinfo | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/bison.texinfo b/doc/bison.texinfo index b226726e..8d1ba68f 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -5166,11 +5166,11 @@ contain default reductions. @xref{Default Reductions}. (The ability to specify where default reductions should be used is experimental. More user feedback will help to stabilize it.) -@item Accepted Values: @code{all}, @code{consistent}, @code{accepting} +@item Accepted Values: @code{full}, @code{consistent}, @code{accepting} @item Default Value: @itemize @item @code{accepting} if @code{lr.type} is @code{canonical-lr}. -@item @code{all} otherwise. +@item @code{full} otherwise. @end itemize @end itemize @@ -7143,7 +7143,7 @@ To adjust which states have default reductions enabled, use the Specify the kind of states that are permitted to contain default reductions. The accepted values of @var{WHERE} are: @itemize -@item @code{all} (default for LALR and IELR) +@item @code{full} (default for LALR and IELR) @item @code{consistent} @item @code{accepting} (default for canonical LR) @end itemize @@ -7152,9 +7152,6 @@ The accepted values of @var{WHERE} are: experimental. More user feedback will help to stabilize it.) @end deffn -FIXME: Because of the exceptions described above, @code{all} is a misnomer. -Rename to @code{full}. - @node LAC @subsection LAC @findex %define parse.lac |