X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/4e26c69eb6bfb356d1654ca9cba0435413451a42..9e6e7ed2b275cba4dcc75fca6a8f0768285e4c6b:/NEWS?ds=sidebyside diff --git a/NEWS b/NEWS index 8d321cdf..2e757516 100644 --- a/NEWS +++ b/NEWS @@ -1,14 +1,36 @@ Bison News ---------- -Changes in version 2.1a, 2006-02-13: +Changes in version 2.3+: + +* The option `--report=look-ahead' has been changed to `--report=lookahead'. + The old spelling still works, but is not documented and may be removed + in a future release. + +Changes in version 2.3, 2006-06-05: + +* GLR grammars should now use `YYRECOVERING ()' instead of `YYRECOVERING', + for compatibility with LALR(1) grammars. + +* It is now documented that any definition of YYSTYPE or YYLTYPE should + be to a type name that does not contain parentheses or brackets. + +Changes in version 2.2, 2006-05-19: + +* The distribution terms for all Bison-generated parsers now permit + using the parsers in nonfree programs. Previously, this permission + was granted only for Bison-generated LALR(1) parsers in C. + +* %name-prefix changes the namespace name in C++ outputs. + +* The C++ parsers export their token_type. * Bison now allows multiple %union declarations, and concatenates their contents together. * New warning: unused values - Typed right-hand side symbols whose values are not used are reported, - if the associated types have destructors. For instance: + Right-hand side symbols whose values are not used are reported, + if the symbols have destructors. For instance: exp: exp "?" exp ":" exp { $1 ? $1 : $3; } | exp "+" exp @@ -71,10 +93,10 @@ Changes in version 2.1a, 2006-02-13: for previous releases of Bison, and this one. If you wish to update, then make sure older version of Bison will - fail using `%require "2.1a"'. + fail using `%require "2.2"'. * DJGPP support added. - + Changes in version 2.1, 2005-09-16: * The C++ lalr1.cc skeleton supports %lex-param. @@ -100,7 +122,7 @@ Changes in version 2.1, 2005-09-16: a syntax error associated with '%token NUM "number"' they might print 'syntax error, unexpected number' instead of 'syntax error, unexpected "number"'. - + Changes in version 2.0, 2004-12-25: * Possibly-incompatible changes @@ -143,8 +165,7 @@ Changes in version 2.0, 2004-12-25: This is a GNU extension. - The option `--report=lookahead' was changed to `--report=look-ahead'. - The old spelling still works, but is not documented and will be - removed. + [However, this was changed back after 2.3.] - Experimental %destructor support has been added to lalr1.cc. @@ -411,8 +432,8 @@ Changes in version 1.50, 2002-10-04: produces additional information: - itemset complete the core item sets with their closure - - lookahead [changed to `look-ahead' in 1.875e and later] - explicitly associate look-ahead tokens to items + - lookahead [changed to `look-ahead' in 1.875e through 2.3, but changed back] + explicitly associate lookahead tokens to items - solved describe shift/reduce conflicts solving. Bison used to systematically output this information on top of