summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-01-16 09:17:07 +0100
committerAkim Demaille <akim.demaille@gmail.com>2021-01-16 09:37:09 +0100
commit17fb1d0377493a218b2f4300533cd26e3a9fc22f (patch)
tree08de6c9aa70db629f00f50702b9c9843109b27cb /NEWS
parenta9f9f317b533573c791d3aa70803cd8f68ded51a (diff)
downloadbison-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--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e12ba6fa..f2c235eb 100644
--- a/NEWS
+++ b/NEWS
@@ -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]