]> git.saurik.com Git - bison.git/commitdiff
Update NEWS.
authorAkim Demaille <demaille@gostai.com>
Wed, 28 Jan 2009 14:45:00 +0000 (15:45 +0100)
committerAkim Demaille <demaille@gostai.com>
Wed, 28 Jan 2009 14:45:00 +0000 (15:45 +0100)
* NEWS: Import changes in 2.4.1 and 2.4.2.

ChangeLog
NEWS

index d5d3284de4eccd48be97d8d5b83d35553c0722b6..a1581fd8d3820de8534f71f14c85744c0b03a3d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-28  Akim Demaille  <demaille@gostai.com>
+
+       * NEWS: Update information about 2.4.1 and 2.4.2.
+
 2008-11-04  Akim Demaille  <demaille@gostai.com>
 
        Reformat NEWS.
diff --git a/NEWS b/NEWS
index fe1144eca94ccddad4c59cf1fda48ac6805fb215..2de1a5de3240067ad92c28480f765eebccb58b84 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,15 +3,38 @@ Bison News
 
 * Changes in version ?.? (????-??-??):
 
+** Java skeleton improvements:
+
+  The constants for token names were moved to the Lexer interface.
+  Also, it is possible to add code to the parser's constructors using
+  "%code init" and "%define init_throws".
+
 * Changes in version 2.4.2 (????-??-??):
 
 * Changes in version 2.4.1 (2008-12-11):
 
-* Java skeleton improvements:
+** In the GLR defines file, unexpanded M4 macros in the yylval and yylloc
+   declarations have been fixed.
 
-  The constants for token names were moved to the Lexer interface.
-  Also, it is possible to add code to the parser's constructors using
-  "%code init" and "%define init_throws".
+** Temporary hack for adding a semicolon to the user action.
+
+  Bison used to prepend a trailing semicolon at the end of the user
+  action for reductions.  This allowed actions such as
+
+    exp: exp "+" exp { $$ = $1 + $3 };
+
+  instead of
+
+    exp: exp "+" exp { $$ = $1 + $3; };
+
+  Some grammars still depend on this `feature'.  Bison 2.4.1 restores
+  the previous behavior in the case of C output (specifically, when
+  neither %language or %skeleton or equivalent command-line options
+  are used) to leave more time for grammars depending on the old
+  behavior to be adjusted.  Future releases of Bison will disable this
+  feature.
+
+** A few minor improvements to the Bison manual.
 
 * Changes in version 2.4 (2008-11-02):