]> git.saurik.com Git - bison.git/commit
Rename "default rule" to "default reduction".
authorJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 23 Apr 2009 08:12:58 +0000 (04:12 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 23 Apr 2009 08:18:13 +0000 (04:18 -0400)
commit110ef36a1a93c60cc83627492de40cb95aedf9b1
treed5ebeaeb4850ad8c1ba81eb086a07b99ad1cce0a
parent746ee38c7cff93ad1fc97da6f06f124f394fb437
Rename "default rule" to "default reduction".

This includes changing variable names in code, changing
comments, and renaming %define lr.default_rules to %define
lr.default_reductions.
* NEWS (2.5): Update IELR documentation.
* data/bison.m4 (b4_integral_parser_tables_map): Adjust YYDEFACT
documentation.
* data/glr.c, data/lalr1.java: Sync copyright dates.
* doc/bison.texinfo (Decl Summary): Adjust lr.default_reductions
and lr.type documentation.  Make some other wording
improvements.
(Glossary): Adjust cross-references and Default Reduction
definition.
* src/lalr.c (state_lookahead_tokens_count): Adjust code.
Remove a confusing comment pointed out by Akim Demaille.
(initialize_LA): Adjust code.
* src/print-xml.c (print_reductions): Adjust code.
* src/print.c (print_reductions): Adjust code.
* src/reader.c (reader): Adjust code.
* src/tables.c (action_row): Adjust code.
(token_actions): Adjust code.
* src/tables.h: Adjust YYDEFACT documentation.
* tests/input.at (%define lr.default_rules invalid values):
Rename test group to...
(%define lr.default_reductions invalid values): ... this, and
update grammar file and expected output.
* tests/reduce.at (AT_TEST_LR_DEFAULT_RULES): Rename to...
(AT_TEST_LR_DEFAULT_REDUCTIONS): ... this, and update.
16 files changed:
ChangeLog
NEWS
data/bison.m4
data/glr.c
data/lalr1.java
doc/bison.texinfo
src/lalr.c
src/parse-gram.c
src/parse-gram.h
src/print-xml.c
src/print.c
src/reader.c
src/tables.c
src/tables.h
tests/input.at
tests/reduce.at