X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c7fb0b9079c70dd906bf180d5eff5d1b65ec73c3..ec4d88f4965d67eda9bff4a7772cb25a33c3fdf5:/NEWS?ds=sidebyside diff --git a/NEWS b/NEWS index 9523191d..15c7c937 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,17 @@ Bison News Changes in version 2.1a: +* lalr1.cc: The token and value types are now class members. + The tokens where defined as free form enums and cpp macros. YYSTYPE + was defined as a free form union. Both are now class members: + tokens are enumerations of the `yy::parser::token' struct, and the + semantic values have the `yy::parser::semantic_type' type. + + If you do not want or can update to this scheme, the directive + `%define "global_tokens_and_yystype" "1"' triggers the global + definition of tokens and YYSTYPE. + + Changes in version 2.1, 2005-09-16: * Bison-generated parsers now support the translation of diagnostics like