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.
This commit is contained in:
Joel E. Denny
2009-04-29 21:48:21 -04:00
parent 0b59345789
commit 1d0f55cc84
9 changed files with 35 additions and 23 deletions

View File

@@ -561,9 +561,9 @@ reader (void)
muscle_percent_define_default ("lr.type", "LALR");
lr_type = muscle_percent_define_get ("lr.type");
if (0 != strcmp (lr_type, "canonical LR"))
muscle_percent_define_default ("lr.default_reductions", "all");
muscle_percent_define_default ("lr.default-reductions", "all");
else
muscle_percent_define_default ("lr.default_reductions", "accepting");
muscle_percent_define_default ("lr.default-reductions", "accepting");
free (lr_type);
}
@@ -571,7 +571,7 @@ reader (void)
{
static char const * const values[] = {
"lr.type", "LALR", "IELR", "canonical LR", NULL,
"lr.default_reductions", "all", "consistent", "accepting", NULL,
"lr.default-reductions", "all", "consistent", "accepting", NULL,
NULL
};
muscle_percent_define_check_values (values);