X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/cff03fb2b92a05f61c142783dd3b2e0103782869..b1cc23c4e3b94b55c2ef98d63052824273ebb92c:/NEWS diff --git a/NEWS b/NEWS index ad7903cc..1458cb2d 100644 --- a/NEWS +++ b/NEWS @@ -18,7 +18,7 @@ Changes in version 2.3a+ (????-??-??): * Push Parsing Bison can now generate an LALR(1) parser in C with a push interface. That - is, instead of invoking yyparse, which pulls tokens from `yylex', you can + is, instead of invoking `yyparse', which pulls tokens from `yylex', you can push one token at a time to the parser using `yypush_parse', which will return to the caller after processing each token. By default, the push interface is disabled. Either of the following directives will enable it: @@ -41,9 +41,10 @@ Changes in version 2.3a+ (????-??-??): %defines "parser.h" -* When reporting useless rules and nonterminals, Bison now employs the term - "useless in grammar" instead of "useless" and employs the term "useless in - parser" instead of "never reduced". +* When reporting useless rules, useless nonterminals, and unused terminals, + Bison now employs the terms "useless in grammar" instead of "useless", + "useless in parser" instead of "never reduced", and "unused in grammar" + instead of "unused". * Unreachable State Removal @@ -68,7 +69,7 @@ Changes in version 2.3a+ (????-??-??): for further discussion. * Lookahead Set Correction in the `.output' Report - + When instructed to generate a `.output' file including lookahead sets (using `--report=lookahead', for example), Bison now prints each reduction's lookahead set only next to the associated state's one item that (1) is @@ -78,6 +79,8 @@ Changes in version 2.3a+ (????-??-??): bug affected only the `.output' file and not the generated parser source code. +* --report-file=FILE is a new flag to override the default `.output' file name. + * The `=' that used to be required in the following directives is now deprecated: @@ -151,6 +154,13 @@ Changes in version 2.3a+ (????-??-??): See the section `Freeing Discarded Symbols' in the Bison manual for further details. +* %left, %right, and %nonassoc can now declare token numbers. This is required + by POSIX. However, see the end of section `Operator Precedence' in the Bison + manual for a caveat concerning the treatment of literal strings. + +* The nonfunctional --no-parser, -n, and %no-parser options have been + completely removed from Bison. + Changes in version 2.3a, 2006-09-13: * Instead of %union, you can define and use your own union type @@ -975,7 +985,7 @@ End: ----- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, -2004, 2005, 2006, 2007 Free Software Foundation, Inc. +2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler.