diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2021-01-16 09:17:07 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2021-01-16 09:37:09 +0100 |
commit | 17fb1d0377493a218b2f4300533cd26e3a9fc22f (patch) | |
tree | 08de6c9aa70db629f00f50702b9c9843109b27cb /NEWS | |
parent | a9f9f317b533573c791d3aa70803cd8f68ded51a (diff) | |
download | bison-17fb1d0377493a218b2f4300533cd26e3a9fc22f.tar.gz |
c: add support for YYNOMEM
Suggested by Joe Nelson <joe@begriffs.com>.
https://lists.gnu.org/r/help-bison/2020-12/msg00020.html
* data/skeletons/glr.c, data/skeletons/yacc.c (YYNOMEM): New.
Use it.
(yyexhaustedlab): Rename as...
(yynomemlab): this.
* tests/calc.at: Check it.
* doc/bison.texi: Document it.
Fix incorrect statements about non-existing constants for YYERROR etc.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -64,6 +64,11 @@ GNU Bison NEWS The Java skeleton (lalr1.java) now supports LAC, via the `parse.lac` %define variable. +*** Abort parsing for memory exhaustion (C) + + The user actions may now use YYNOMEM to abort the current parse with + memory exhaustion. + * Noteworthy changes in release 3.7.4 (2020-11-14) [stable] |