X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e9690142325711b320ef444768fdd40a087d02f7..0906b12cd56f9777fb684b8a257a0e56c090a93c:/src/lalr.c diff --git a/src/lalr.c b/src/lalr.c index eb12ff93..53a5dbfd 100644 --- a/src/lalr.c +++ b/src/lalr.c @@ -1,6 +1,6 @@ /* Compute lookahead criteria for Bison. - Copyright (C) 1984, 1986, 1989, 2000-2011 Free Software Foundation, + Copyright (C) 1984, 1986, 1989, 2000-2012 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -27,7 +27,6 @@ #include #include -#include #include "LR0.h" #include "complain.h" @@ -372,9 +371,8 @@ initialize_LA (void) bool default_reduction_only_for_accept; { char *default_reductions = - muscle_percent_define_get ("lr.default-reductions"); - default_reduction_only_for_accept = - 0 == strcmp (default_reductions, "accepting"); + muscle_percent_define_get ("lr.default-reduction"); + default_reduction_only_for_accept = STREQ (default_reductions, "accepting"); free (default_reductions); }