X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/34136e65fc7bd6babcfedcbfcfdca3b9feb10f1d..70b7c357476ed3525ddb5d2739e70690cfebb207:/src/lalr.c?ds=inline diff --git a/src/lalr.c b/src/lalr.c index 61fa42d0..5e155749 100644 --- a/src/lalr.c +++ b/src/lalr.c @@ -1,6 +1,6 @@ /* Compute lookahead criteria for Bison. - Copyright (C) 1984, 1986, 1989, 2000-2012 Free Software Foundation, + Copyright (C) 1984, 1986, 1989, 2000-2013 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); }