X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/441735026b38afedb296710e78f45af7e66a5fc8..466b4cf2017646239984467733e63a2cfb98fd8f:/NEWS diff --git a/NEWS b/NEWS index 3eb2cc69..544478af 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,50 @@ Bison News ---------- -* Changes in version 2.5 (????-??-??): +* Changes in version 2.5.1 (????-??-??): + +** glr.c: __attribute__ is preserved: + + __attribute__ is not longer disabled when __STRICT_ANSI__ is defined + (i.e., when -std is passed to GCC). + +** yacc.c: YYBACKUP works as expected. + +** 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: @@ -334,7 +377,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 +386,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 +1557,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.