summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-11-13 07:01:19 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-11-13 07:01:19 +0100
commit23472033ee5d28a7f3c245a9aea3e1abfdf379b5 (patch)
treed526df1c8f4b0a1e03c586717e539e60473e10bb /NEWS
parentd0ea78ca4750f7eb751b1f7625c5580714cd4d47 (diff)
parentd8cc6b073e2802d871a16dc62418a7eb62ed2216 (diff)
downloadbison-23472033ee5d28a7f3c245a9aea3e1abfdf379b5.tar.gz
Merge branch 'maint'
* maint: c++: shorten the assertions that check whether tokens are correct c++: don't glue functions together lalr1.cc: YY_ASSERT should use api.prefix c++: don't use YY_ASSERT at all if parse.assert is disabled c++: style: follow the Bison m4 quoting pattern yacc.c: provide the Bison version as an integral macro regen style: make conversion of version string to int public %require: accept version numbers with three parts ("3.7.4") yacc.c: fix #definition of YYEMPTY gnulib: update doc: fix incorrect section title doc: minor grammar fixes in counterexamples section
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS27
1 files changed, 27 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f2c3a86d..678cb528 100644
--- a/NEWS
+++ b/NEWS
@@ -54,6 +54,33 @@ GNU Bison NEWS
The Java skeleton (lalr1.java) now supports LAC, via the %define variable
parse.lac.
+* Noteworthy changes in release ?.? (????-??-??) [?]
+
+** Bug fixes
+
+*** Bug fixes in yacc.c
+
+ In Yacc mode, all the tokens are defined twice: once as an enum, and then
+ as a macro. YYEMPTY was missing its macro.
+
+*** Bug fixes in lalr1.cc
+
+ The lalr1.cc skeleton used to emit internal assertions (using YY_ASSERT)
+ even when the `parse.assert` %define variable is not enabled. It no
+ longer does.
+
+ The private internal macro YY_ASSERT now obeys the `api.prefix` %define
+ variable.
+
+ When there is a very large number of tokens, some assertions could be long
+ enough to hit arbitrary limits in Visual C++. They have been rewritten to
+ work around this limitation.
+
+** Changes
+
+ The YYBISON macro in generated "regular C parsers" (from the "yacc.c"
+ skeleton) used to be defined to 1. It is now defined to the version of
+ Bison as an integer (e.g., 30704 for version 3.7.4).
* Noteworthy changes in release 3.7.3 (2020-10-13) [stable]