[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/5] c: add support for YYNOMEM
From: |
Akim Demaille |
Subject: |
Re: [PATCH 5/5] c: add support for YYNOMEM |
Date: |
Sat, 16 Jan 2021 14:25:09 +0100 |
> Le 16 janv. 2021 à 12:59, Akim Demaille <akim.demaille@gmail.com> a écrit :
>
> 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.
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.
- [PATCH 0/5] Introduce YYNOMEM in C skeletons, Akim Demaille, 2021/01/16
- [PATCH 1/5] tests: check YYACCEPT and YYABORT, Akim Demaille, 2021/01/16
- [PATCH 2/5] glr.c: style: formatting changes, Akim Demaille, 2021/01/16
- [PATCH 3/5] yacc.c, glr.c: style: rename yyreturn and yyreturnlab, Akim Demaille, 2021/01/16
- [PATCH 4/5] doc: spell check, Akim Demaille, 2021/01/16
- [PATCH 5/5] c: add support for YYNOMEM, Akim Demaille, 2021/01/16
- Re: [PATCH 5/5] c: add support for YYNOMEM,
Akim Demaille <=