mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
Rename lr.default_reductions to lr.default-reductions.
* NEWS (2.5): Here.
* doc/bison.texinfo: Here.
* src/lalr.c (initialize_LA): Here.
* src/print.c (print_reductions): Here.
* src/reader.c (reader): Here.
* src/tables.c (action_row): Here.
* tests/input.at (%define enum variables): Here.
* tests/reduce.at (AT_TEST_LR_DEFAULT_REDUCTIONS): Here.
(cherry picked from commit 1d0f55cc84)
This commit is contained in:
@@ -4930,9 +4930,9 @@ Boolean
|
||||
@c error-verbose
|
||||
|
||||
|
||||
@item lr.default_reductions
|
||||
@item lr.default-reductions
|
||||
@cindex default reductions
|
||||
@findex %define lr.default_reductions
|
||||
@findex %define lr.default-reductions
|
||||
@cindex delayed syntax errors
|
||||
@cindex syntax errors delayed
|
||||
|
||||
@@ -5108,7 +5108,7 @@ syntactically acceptable in that left context.
|
||||
Thus, the only difference in parsing behavior is that the canonical
|
||||
@acronym{LR} parser can report a syntax error as soon as possible
|
||||
without performing any unnecessary reductions.
|
||||
@xref{Decl Summary,,lr.default_reductions}, for further details.
|
||||
@xref{Decl Summary,,lr.default-reductions}, for further details.
|
||||
Even when canonical @acronym{LR} behavior is ultimately desired,
|
||||
@acronym{IELR}'s elimination of duplicate conflicts should still
|
||||
facilitate the development of a grammar.
|
||||
@@ -10526,7 +10526,7 @@ committee document contributing to what became the Algol 60 report.
|
||||
|
||||
@item Consistent State
|
||||
A state containing only one possible action.
|
||||
@xref{Decl Summary,,lr.default_reductions}.
|
||||
@xref{Decl Summary,,lr.default-reductions}.
|
||||
|
||||
@item Context-free grammars
|
||||
Grammars specified as rules that can be applied regardless of context.
|
||||
@@ -10541,7 +10541,7 @@ contains no other action for the lookahead token.
|
||||
In permitted parser states, Bison declares the reduction with the
|
||||
largest lookahead set to be the default reduction and removes that
|
||||
lookahead set.
|
||||
@xref{Decl Summary,,lr.default_reductions}.
|
||||
@xref{Decl Summary,,lr.default-reductions}.
|
||||
|
||||
@item Dynamic allocation
|
||||
Allocation of memory that occurs during execution, rather than at
|
||||
|
||||
Reference in New Issue
Block a user