summaryrefslogtreecommitdiff
path: root/src/lalr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lalr.c')
-rw-r--r--src/lalr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lalr.c b/src/lalr.c
index f86bde1c..1ceda002 100644
--- a/src/lalr.c
+++ b/src/lalr.c
@@ -372,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);
}