>From 3e5268fc4429f0a51e1edbe6a9f6a4e2a3c343ae Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 3 Oct 2019 11:15:51 -0700 Subject: [PATCH 2/2] * doc/bison.texi (Table of Symbols): Mention memory exhaustion. --- doc/bison.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/bison.texi b/doc/bison.texi index a89142df..6f4ca9e2 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -14210,7 +14210,8 @@ is recovering from a syntax error, and 0 otherwise. @deffn {Macro} YYSTACK_USE_ALLOCA Macro used to control the use of @code{alloca} when the deterministic parser in C needs to extend its stacks. If defined to 0, -the parser will use @code{malloc} to extend its stacks. If defined to +the parser will use @code{malloc} to extend its stacks and memory exhaustion +occurs if @code{malloc} fails (@pxref{Memory Management}). If defined to 1, the parser will use @code{alloca}. Values other than 0 and 1 are reserved for future Bison extensions. If not defined, @code{YYSTACK_USE_ALLOCA} defaults to 0. -- 2.21.0