* NEWS (2.5): Describe new -D/--define feature.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Mon, 6 Apr 2009 10:22:27 +0000 (06:22 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Mon, 6 Apr 2009 21:29:52 +0000 (17:29 -0400)
ChangeLog
NEWS

index e3c305b..6beb824 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-06  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       * NEWS (2.5): Describe new -D/--define feature.
+
 2008-11-10  Akim Demaille  <demaille@gostai.com>
 
        --trace=muscles
diff --git a/NEWS b/NEWS
index 2c3238f..1a98c19 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,20 @@ Bison News
 
 * 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):