[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6] glr: fix compatibility bw %merge and api.value.type=union
From: |
Akim Demaille |
Subject: |
[PATCH 0/6] glr: fix compatibility bw %merge and api.value.type=union |
Date: |
Thu, 31 Dec 2020 08:14:32 +0100 |
This series cleans up a few issues in %merge management, and in
particular make `%merge` and `%define api.value.type union`
compatible. That is the problem that Jot faced in
https://lists.gnu.org/r/help-bison/2020-12/msg00014.html.
The GLR example in C is adjusted to demonstrate both `%merge` and
`%define api.value.type union`.
Akim Demaille (6):
%merge: clearer tests on diagnostics
%merge: let mergers record a typing-symbol, rather than a type
%merge: delegate the generation of calls to mergers to m4
%merge: fix compatibility with api.value.type=union
%merge: test support for api.value.type=union
%merge: associate it to its first definition, not the latest
TODO | 9 +++++++
data/skeletons/glr.c | 11 ++++++++-
data/skeletons/glr2.cc | 8 ++++++
examples/c/glr/c++-types.y | 31 ++++++++++++++---------
src/output.c | 10 ++------
src/reader.c | 48 ++++++++++++++++++++----------------
src/reader.h | 5 +++-
tests/README.md | 26 ++++++++++++++++++++
tests/glr-regression.at | 50 ++++++++++++++++++++++++++------------
tests/local.mk | 4 ++-
10 files changed, 143 insertions(+), 59 deletions(-)
create mode 100644 tests/README.md
--
2.29.2
- [PATCH 0/6] glr: fix compatibility bw %merge and api.value.type=union,
Akim Demaille <=
- [PATCH 1/6] %merge: clearer tests on diagnostics, Akim Demaille, 2020/12/31
- [PATCH 2/6] %merge: let mergers record a typing-symbol, rather than a type, Akim Demaille, 2020/12/31
- [PATCH 3/6] %merge: delegate the generation of calls to mergers to m4, Akim Demaille, 2020/12/31
- [PATCH 5/6] %merge: test support for api.value.type=union, Akim Demaille, 2020/12/31
- [PATCH 4/6] %merge: fix compatibility with api.value.type=union, Akim Demaille, 2020/12/31
- [PATCH 6/6] %merge: associate it to its first definition, not the latest, Akim Demaille, 2020/12/31