X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/eff97eb54a1ff17da66f9d1c746eb009feeba889..ddb9db15:/src/lalr.c diff --git a/src/lalr.c b/src/lalr.c index f86bde1c..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. @@ -371,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); }