X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e9690142325711b320ef444768fdd40a087d02f7..c0beb08772ddefc0e8bb705b08cebc71ec92815d:/src/lalr.c diff --git a/src/lalr.c b/src/lalr.c index eb12ff93..1ceda002 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" @@ -373,8 +372,7 @@ initialize_LA (void) { char *default_reductions = muscle_percent_define_get ("lr.default-reductions"); - default_reduction_only_for_accept = - 0 == strcmp (default_reductions, "accepting"); + default_reduction_only_for_accept = STREQ (default_reductions, "accepting"); free (default_reductions); }