diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-12-31 07:20:49 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-12-31 08:07:25 +0100 |
commit | fbe5abd23d2047c593d81654263bf4dd331311ae (patch) | |
tree | e2d3dfb0ad87f9cdcf5c4ee86563c8333dde4aab /TODO | |
parent | c09f2e4c7bcb242ca7f320be5777e7bd641f78ec (diff) | |
download | bison-fbe5abd23d2047c593d81654263bf4dd331311ae.tar.gz |
%merge: fix compatibility with api.value.type=union
Reported by Jot Dot.
https://lists.gnu.org/r/help-bison/2020-12/msg00014.html
* data/skeletons/glr.c, data/skeletons/glr2.cc (b4_call_merger): Use
the symbol's slot, not its type.
* examples/c/glr/c++-types.y: Use explicit per-symbol typing together
with api.value.type=union.
(yylex): Use yytoken_kind_t.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2,6 +2,15 @@ ** glr There is no test with "Parse on stack %ld rejected by rule %d" in it. +** %merge +Tests with typed %merge: 716 717 718 740 741 742 746 747 748 + +716: Duplicate representation of merged trees: glr.c FAILED (glr-regression.at:517) +740: Leaked semantic values if user action cuts parse: glr.c FAILED (glr-regression.at:1230) +746: Incorrect lookahead during nondeterministic GLR: glr.c FAILED (glr-regression.at:1610) + +Document typed merges. + ** yyrline etc. Clarify that rule numbers in the skeletons are 1-based. |