]> git.saurik.com Git - bison.git/blobdiff - NEWS
Don't let -Wnone disable -Werror.
[bison.git] / NEWS
diff --git a/NEWS b/NEWS
index 144aae850c583423d5bc718e0f46891f531e72dd..404efd7a0db4b30c4b82eb90902c17ec1a21a829 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -357,6 +357,24 @@ Bison News
 *** The top element of each of the value stack and location stack is now
     cleared when popped so that it can be garbage collected.
 
+*** Parser traces now print the top element of the stack.
+
+** -W/--warnings fixes:
+
+*** Bison now properly recognizes the "no-" versions of categories:
+
+  For example, given the following command line, Bison now enables all
+  warnings except warnings for incompatibilities with POSIX Yacc:
+
+    bison -Wall,no-yacc gram.y
+
+*** The "none" category no longer disables a preceding "error":
+
+  For example, for the following command line, Bison now reports
+  errors instead of warnings for incompatibilities with POSIX Yacc:
+
+    bison -Werror,none,yacc gram.y
+
 * Changes in version 2.4.3 (2010-08-05):
 
 ** Bison now obeys -Werror and --warnings=error for warnings about