mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +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:
@@ -32,3 +32,4 @@ The grammar features several special directives:
|
||||
- `!!` YYERROR
|
||||
- `!+` YYACCEPT
|
||||
- `!-` YYABORT
|
||||
- `!*` YYNOMEM
|
||||
|
||||
Reference in New Issue
Block a user