Re: [PATCH 5/5] c: add support for YYNOMEM
Akim Demaille <[email protected]> Sat, 16 Jan 2021 14:25:09 +0100
| Newsgroups | gmane.comp.parsers.bison.patches |
|---|---|
| Message-ID | <[email protected]> |
> Le 16 janv. 2021 à 12:59, Akim Demaille <[email protected]> a écrit : > > Suggested by Joe Nelson <[email protected]>. > 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. I have not installed that part, and forgot to remove it from the commit message. I would prefer the label to be consistent with the macro, as for the other macros that branch to a label, but Joe was precisely asking whether yyexhaustedlab would change in the future. Maybe it will, but it's probably too soon to change it. > * tests/calc.at: Check it. > * doc/bison.texi: Document it. > Fix incorrect statements about non-existing constants for YYERROR etc.