X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/52d1aeee3d484fa748b22416a0876fdeed2c4597..216eb8c9f2d7a0f354a562e48445ef08c9029ada:/NEWS diff --git a/NEWS b/NEWS index 57fab530..e02a9797 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,46 @@ Bison News Changes in version 1.49a: +* Undefined token + The undefined token was systematically mapped to 2 which prevented + the use of 2 from the user. This is no longer the case. + +* Undefined token + If yylex returned a code out of range, yyparse could die. This is + no longer the case. + +* Error token + According to POSIX, the error token should be numbered as 256. + Bison extends this requirement by making it a preference: *if* the + user specified that one of her tokens is numbered 256, then error + will be mapped onto another number. + +* Large grammars + Are now supported (large token numbers, large grammar size (= sum of + the LHS and RHS lengths), large LALR tables). + +* The initial rule is explicit. + Bison used to play hacks with the initial rule, which the user does + not write. It is now explicit, and visible in the reports and + graphs as rule 0. + +* Useless rules are actually removed. + Before, Bison reported the useless rules, but, although not used, + included them in the parsers. + +* False `Token not used' report fixed. + On a grammar such as + + %token useless useful + %% + exp: '0' %prec useful; + + where a token was used to set the precedence of the last rule, + bison reported both `useful' and `useless' as useless tokens. + +* Revert the C++ namespace changes introduced in 1.31, as they caused too + many portability hassles. + * Items overflow Bison no longer dumps core when there are too many items, it just dies.