X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/d6fb461dd8b8ce881af052e4d8b5cfc4e8c2178b..c4fae1ef488f25c1f6bd104d2cba1bcb1cfe865a:/NEWS diff --git a/NEWS b/NEWS index d63c9500..1a98c191 100644 --- a/NEWS +++ b/NEWS @@ -1,9 +1,48 @@ Bison News ---------- -* Changes in version ?.? (????-??-??): +* 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): + +** In the GLR defines file, unexpanded M4 macros in the yylval and yylloc + declarations have been fixed. + +** 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): @@ -1028,9 +1067,9 @@ End: ----- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, -2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. -This file is part of Bison, the GNU Compiler Compiler. +This file is part of Bison, the GNU Parser Generator. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by