summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-03-07 08:19:36 +0100
committerAkim Demaille <akim.demaille@gmail.com>2021-03-07 11:56:30 +0100
commita774839ca873d1082f79ba3c4eecc1e242a28ce1 (patch)
tree62efd9548c1a95277f532fc9fd918bce1fcfbd8b /NEWS
parentef3adfa0fb2e816b88a5a6b7de8f0b77d4fafa4e (diff)
downloadbison-a774839ca873d1082f79ba3c4eecc1e242a28ce1.tar.gz
tables: fix again the handling of useless tokens
The right-shift added in c22902e360e0fbbe9fd5657dcf107e03166da309 ("tables: fix handling for useless tokens") is incorrect. In particular, we need to reset the "new" bits. Reported by Balázs Scheidler. https://github.com/akimd/bison/issues/74 * src/tables.c (pos_set_set): Fix the right-shift.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2ce2ad51..9598c0c2 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,12 @@ GNU Bison NEWS
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Bug fixes
+
+*** Fix Table Generation
+
+ In some very rare conditions, when there are many useless tokens, it was
+ possible to generate incorrect parsers.
* Noteworthy changes in release 3.7.5 (2021-01-24) [stable]