Hi Joe, > Le 30 déc. 2020 à 07:48, Akim Demaille <a...@lrde.epita.fr> a écrit : > > I don't think this area (yyexhaustedlab) would change, but you are right > it is an internal detail. I'll add something public in the future, > maybe YYNOMEM. Any idea of a good spelling for such a macro? > YYEXHAUSTED doesn't sound right.
Done, see https://lists.gnu.org/r/bison-patches/2021-01/msg00056.html. commit 17fb1d0377493a218b2f4300533cd26e3a9fc22f Author: Akim Demaille <akim.demai...@gmail.com> Date: Sat Jan 16 09:17:07 2021 +0100 c: add support for YYNOMEM Suggested by Joe Nelson <j...@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. * tests/calc.at: Check it. * doc/bison.texi: Document it. Fix incorrect statements about non-existing constants for YYERROR etc. Cheers!