bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/5] maint: new warning flag


From: Victor Santet
Subject: [PATCH 2/5] maint: new warning flag
Date: Fri, 29 Jun 2012 15:22:10 +0200

Flag 'silent' is for warnings that we don't want to specify their
categories.

* src/complain.h (enum warnings): New field.
---
 src/complain.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/complain.h b/src/complain.h
index 79f2017..b721230 100644
--- a/src/complain.h
+++ b/src/complain.h
@@ -40,6 +40,7 @@ typedef enum
     Wother            = 1 << 5, /**< All other warnings.  */
     complaint         = 1 << 6, /**< All complaints.  */
     fatal             = 1 << 7, /**< All fatal errors.  */
+    silent            = 1 << 8, /**< Warnings with no label.  */
     Wall              = ~Werror /**< All above warnings.  */
   } warnings;
 
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]