]> git.saurik.com Git - bison.git/blobdiff - src/conflicts.c
%expect-rr is for GLR only
[bison.git] / src / conflicts.c
index 989dfc256689d7c706c307dee8139f849a670c97..0db0f575ef1026d14cdb28add79dca12a8c1c2dd 100644 (file)
@@ -576,7 +576,7 @@ conflicts_print (void)
         }
   }
 
-  if (! glr_parser && rrc_total > 0 && expected_rr_conflicts != -1)
+  if (! glr_parser && expected_rr_conflicts != -1)
     {
       complain (Wother, _("%%expect-rr applies only to GLR parsers"));
       expected_rr_conflicts = -1;