]> git.saurik.com Git - bison.git/blobdiff - src/getargs.h
Disable unset/unused mid-rule value warnings by default, and recognize
[bison.git] / src / getargs.h
index d0fa12f20dcb8279f4379b9ef885239ead92333c..a84a4857d259ec207d6bef314a136dfc2641dd61 100644 (file)
@@ -111,7 +111,8 @@ enum warnings
   {
     warnings_none             = 0,      /**< Issue no warnings.  */
     warnings_error            = 1 << 0, /**< Warnings are treated as errors.  */
-    warnings_yacc             = 1 << 1, /**< POSIXME.  */
+    warnings_midrule_values   = 1 << 1, /**< Unset or unused midrule values.  */
+    warnings_yacc             = 1 << 2, /**< POSIXME.  */
     warnings_all              = ~warnings_error /**< All above warnings.  */
   };
 /** What warnings are issued.  */