diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2021-03-07 08:19:36 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2021-03-07 11:56:30 +0100 |
commit | a774839ca873d1082f79ba3c4eecc1e242a28ce1 (patch) | |
tree | 62efd9548c1a95277f532fc9fd918bce1fcfbd8b /NEWS | |
parent | ef3adfa0fb2e816b88a5a6b7de8f0b77d4fafa4e (diff) | |
download | bison-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-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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] |