X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/72e727f2ec4e9f95c2ba63a4af358bc31c9e9338..7254f6a84048d56da7b004c2934613f7f9de391a:/src/reader.c diff --git a/src/reader.c b/src/reader.c index 6184c863..8c88dc04 100644 --- a/src/reader.c +++ b/src/reader.c @@ -555,6 +555,17 @@ reader (void) gram_scanner_initialize (); gram_parse (); + muscle_percent_define_default ("lr.default_rules", "all"); + + /* Check front-end %define variable values. */ + { + static char const * const values[] = { + "lr.default_rules", "all", "consistent", "accepting", NULL, + NULL + }; + muscle_percent_define_check_values (values); + } + if (! complaint_issued) check_and_convert_grammar ();