]> git.saurik.com Git - bison.git/blobdiff - NEWS
Warn about character literals not of length one.
[bison.git] / NEWS
diff --git a/NEWS b/NEWS
index aa8c7ea27e903ee44c84807543d51339f3136494..b4887427cc2b37393fbc08f57dcc6c5f7bf3e8e5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -133,6 +133,19 @@ Bison News
   about a missing semicolon where it did not before.  Future releases of
   Bison will cease to append semicolons entirely.
 
+** Character literals not of length one.
+
+  Previously, Bison quietly converted all character literals to length
+  one.  For example, without warning, Bison interpreted the operators in
+  the following grammar to be the same token:
+
+    exp: exp '++'
+       | exp '+' exp
+       ;
+
+  Bison now warns when a character literal is not of length one.  In
+  some future release, Bison will report an error instead.
+
 * Changes in version 2.4.2 (????-??-??):
 
 ** %code is now a permanent feature.