mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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.
This commit is contained in:
5
NEWS
5
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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user