bison-patches
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]