]> git.saurik.com Git - bison.git/blobdiff - NEWS
* NEWS (2.5): New section. Describe new -D/--define feature.
[bison.git] / NEWS
diff --git a/NEWS b/NEWS
index 2de1a5de3240067ad92c28480f765eebccb58b84..b436896f6531a4b23a46369ab737cbe721afc8d0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,22 @@ Bison News
   Also, it is possible to add code to the parser's constructors using
   "%code init" and "%define init_throws".
 
+* Changes in version 2.5 (????-??-??):
+
+** %define can now be invoked via the command line.
+
+  Each of these bison command-line options
+
+    -D NAME=VALUE
+    --define=NAME=VALUE
+
+  is equivalent to this grammar file declaration
+
+    %define NAME "VALUE"
+
+  for any NAME and VALUE.  Omitting `=VALUE' on the command line is
+  equivalent to omitting `"VALUE"' in the declaration.
+
 * Changes in version 2.4.2 (????-??-??):
 
 * Changes in version 2.4.1 (2008-12-11):