X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ac3297d501e9b74a11095d966bb8e5aa6fcf0ff4..68fff38a09c92653f386aab7853b07da9e2f1ebc:/NEWS diff --git a/NEWS b/NEWS index 1b70a6ad..b49f2c84 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,61 @@ Bison News ---------- -* Changes in version 2.5 (????-??-??): +* Changes in version 2.5.1 (????-??-??): + +** Future changes: + + The next major release will drop support for K&R C. + +** yacc.c: YYBACKUP works as expected. + +** glr.c improvements: + +*** Location support is eliminated when not requested: + + GLR parsers used to include location-related code even when + locations were not requested, and therefore not even usable. + +*** __attribute__ is preserved: + + __attribute__ is no longer disabled when __STRICT_ANSI__ is defined + (i.e., when -std is passed to GCC). + +** lalr1.java: several fixes: + + The Java parser no longer throws ArrayIndexOutOfBoundsException if + the first token leads to a syntax error. Some minor clean ups. + +** C++11 compatibility: + + C and C++ parsers use nullptr instead of 0 when __cplusplus is + 201103L or higher. + +** C++ locations: + + The position and location constructors (and their initialize + methods) accept new arguments for line and column. Several issues + in the documentation were fixed. + +** liby is no longer asking for "rpl_fprintf" on some platforms. + +** Several improvements have been made to the manual: + + The layout for grammar excerpts was changed to a more compact + scheme. Named references are motivated. The description of the + automaton description file (*.output) is updated to the current + format. Incorrect index entries were fixed. Some other errors were + fixed. + +** Warnings during the build procedure have been eliminated. + +** Several portability problems in the test suite have been fixed: + + This includes warnings with some compilers, unexpected behavior of + tools such as diff, warning messages from the test suite itself, + etc. + +* Changes in version 2.5 (2011-05-14): ** Grammar symbol names can now contain non-initial dashes: @@ -40,7 +94,7 @@ Bison News IELR(1) is a minimal LR(1) parser table generation algorithm. That is, given any context-free grammar, IELR(1) generates parser tables - with the full language recognition power of canonical LR(1) but with + with the full language-recognition power of canonical LR(1) but with nearly the same number of parser states as LALR(1). This reduction in parser states is often an order of magnitude. More importantly, because canonical LR(1)'s extra parser states may contain duplicate @@ -142,7 +196,7 @@ Bison News The old names are now deprecated but will be maintained indefinitely for backward compatibility. -*** Values no longer need to be quoted in grammar file: +*** Values no longer need to be quoted in the grammar file: If a %define value is an identifier, it no longer needs to be placed within quotations marks. For example, @@ -334,7 +388,7 @@ Bison News bison -Werror,none,yacc gram.y -*** The `none' category now disables all Bison warnings. +*** The `none' category now disables all Bison warnings: Previously, the `none' category disabled only Bison warnings for which there existed a specific -W/--warning category. However, @@ -343,6 +397,16 @@ Bison News bison -Wnone gram.y +** Precedence directives can now assign token number 0: + + Since Bison 2.3b, which restored the ability of precedence + directives to assign token numbers, doing so for token number 0 has + produced an assertion failure. For example: + + %left END 0 + + This bug has been fixed. + * Changes in version 2.4.3 (2010-08-05): ** Bison now obeys -Werror and --warnings=error for warnings about @@ -1504,7 +1568,7 @@ End: ----- -Copyright (C) 1995-2011 Free Software Foundation, Inc. +Copyright (C) 1995-2012 Free Software Foundation, Inc. This file is part of Bison, the GNU Parser Generator.