[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] Introduce YYNOMEM in C skeletons
From: |
Akim Demaille |
Subject: |
[PATCH 0/5] Introduce YYNOMEM in C skeletons |
Date: |
Sat, 16 Jan 2021 12:59:00 +0100 |
YYNOMEM allows to abort the current parse as if the parser itself was
running out of memory. It is a means for user to run `goto
yyexhaustedlab` in a documented way.
Akim Demaille (5):
tests: check YYACCEPT and YYABORT
glr.c: style: formatting changes
yacc.c, glr.c: style: rename yyreturn and yyreturnlab
doc: spell check
c: add support for YYNOMEM
NEWS | 5 +++
data/skeletons/glr.c | 39 +++++++++----------
data/skeletons/yacc.c | 37 +++++++++---------
doc/bison.texi | 64 +++++++++++++++++++------------
examples/c/README.md | 2 +-
examples/c/bistromathic/Makefile | 2 +-
examples/c/bistromathic/README.md | 2 +-
examples/c/bistromathic/parse.y | 6 +--
tests/README.md | 9 +++++
tests/calc.at | 50 ++++++++++++++++++++----
10 files changed, 139 insertions(+), 77 deletions(-)
--
2.30.0
- [PATCH 0/5] Introduce YYNOMEM in C skeletons,
Akim Demaille <=
- [PATCH 1/5] tests: check YYACCEPT and YYABORT, Akim Demaille, 2021/01/16
- [PATCH 2/5] glr.c: style: formatting changes, Akim Demaille, 2021/01/16
- [PATCH 3/5] yacc.c, glr.c: style: rename yyreturn and yyreturnlab, Akim Demaille, 2021/01/16
- [PATCH 4/5] doc: spell check, Akim Demaille, 2021/01/16
- [PATCH 5/5] c: add support for YYNOMEM, Akim Demaille, 2021/01/16