X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/620b5727730997767040a023463ce952a0d15ee9..b3597047475134a08eaf301d62c2e61b332690a9:/src/tables.c?ds=sidebyside diff --git a/src/tables.c b/src/tables.c index 186c1fec..2a243cfb 100644 --- a/src/tables.c +++ b/src/tables.c @@ -1,7 +1,7 @@ /* Output the generated parsing program for Bison. - Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 1984, 1986, 1989, 1992, 2000-2006, 2009-2012 Free + Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -30,7 +30,7 @@ #include "getargs.h" #include "gram.h" #include "lalr.h" -#include "muscle_tab.h" +#include "muscle-tab.h" #include "reader.h" #include "symtab.h" #include "tables.h" @@ -126,7 +126,7 @@ static int table_size = 32768; base_number *table; base_number *check; /* The value used in TABLE to denote explicit syntax errors - (%nonassoc), a negative infinite. First defaults to ACTION_NUMBER_MININUM, + (%nonassoc), a negative infinite. First defaults to ACTION_NUMBER_MINIMUM, but in order to keep small tables, renumbered as TABLE_ERROR, which is the smallest (non error) value minus 1. */ base_number table_ninf = 0; @@ -309,8 +309,8 @@ action_row (state *s) labeled as consistent. */ { char *default_reductions = - muscle_percent_define_get ("lr.default_reductions"); - if (0 != strcmp (default_reductions, "all") && !s->consistent) + muscle_percent_define_get ("lr.default-reductions"); + if (0 != strcmp (default_reductions, "most") && !s->consistent) nodefault = true; free (default_reductions); }