mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
lr.default-reductions: rename "full" value to "most".
Unlike "consistent" and "accepting", "full" doesn't answer the
question of "which states".
* 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.
(cherry picked from commit a6e5a28079)
This commit is contained in:
@@ -5368,11 +5368,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{full}, @code{consistent}, @code{accepting}
|
||||
@item Accepted Values: @code{most}, @code{consistent}, @code{accepting}
|
||||
@item Default Value:
|
||||
@itemize
|
||||
@item @code{accepting} if @code{lr.type} is @code{canonical-lr}.
|
||||
@item @code{full} otherwise.
|
||||
@item @code{most} otherwise.
|
||||
@end itemize
|
||||
@end itemize
|
||||
|
||||
@@ -7449,7 +7449,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{full} (default for LALR and IELR)
|
||||
@item @code{most} (default for LALR and IELR)
|
||||
@item @code{consistent}
|
||||
@item @code{accepting} (default for canonical LR)
|
||||
@end itemize
|
||||
|
||||
Reference in New Issue
Block a user