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.
This commit is contained in:
Joel E. Denny
2011-03-06 12:46:27 -05:00
parent 6f04ee6c78
commit d815ec4a62
7 changed files with 29 additions and 17 deletions

View File

@@ -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