[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] C++ support for custom error messages
From: |
Akim Demaille |
Subject: |
[PATCH 0/7] C++ support for custom error messages |
Date: |
Fri, 28 Feb 2020 06:32:12 +0100 |
These changes were submitted by Adrian on GitHub
(https://github.com/akimd/bison/pull/28). I installed them in master.
Many thanks Adrian for this!
Adrian Vogelsgesang (5):
typo: succesful -> successful
skeletons: prefer b4_parse_error_{case,bmatch} over manual solution
c++: add support for parse.error=detailed
c++: add parser::context for syntax error handling
c++: add support for parse.error=custom
These changes were prompted by the CI.
Akim Demaille (2):
c++: minor fixes
c++: don't copy the lookahead
data/skeletons/glr.c | 16 +--
data/skeletons/lalr1.cc | 270 ++++++++++++++++++++++++--------------
data/skeletons/lalr1.java | 8 +-
data/skeletons/yacc.c | 19 ++-
etc/bench.pl.in | 2 +-
src/location.c | 2 +-
src/parse-gram.c | 4 +-
src/parse-gram.h | 2 +-
tests/calc.at | 6 +-
tests/local.at | 29 +++-
10 files changed, 233 insertions(+), 125 deletions(-)
--
2.25.1
- [PATCH 0/7] C++ support for custom error messages,
Akim Demaille <=
- [PATCH 1/7] typo: succesful -> successful, Akim Demaille, 2020/02/28
- [PATCH 2/7] skeletons: prefer b4_parse_error_{case, bmatch} over manual solution, Akim Demaille, 2020/02/28
- [PATCH 3/7] c++: add support for parse.error=detailed, Akim Demaille, 2020/02/28
- [PATCH 4/7] c++: add parser::context for syntax error handling, Akim Demaille, 2020/02/28
- [PATCH 5/7] c++: add support for parse.error=custom, Akim Demaille, 2020/02/28
- [PATCH 6/7] c++: minor fixes, Akim Demaille, 2020/02/28
- [PATCH 7/7] c++: don't copy the lookahead, Akim Demaille, 2020/02/28