mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
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.
36 lines
714 B
Markdown
36 lines
714 B
Markdown
# AT_BISON_OPTION_PUSHDEFS/AT_BISON_OPTION_POPDEFS
|
|
|
|
These two macros must be given the (main) directives so that they
|
|
define a number of other macros to:
|
|
- what the language is (so what compiler tool chain to use, what
|
|
definition of yylex/yyerror, etc.)
|
|
- what skeleton is used
|
|
|
|
# Keywords
|
|
The following keywords are used to label tests. Please follow them
|
|
and avoid creating synonyms.
|
|
- action
|
|
- api.value.type
|
|
- c++
|
|
- cex: counterexamples.
|
|
- d: d language
|
|
- deprec: deprecated features.
|
|
- diagnostics
|
|
- glr
|
|
- graph
|
|
- java
|
|
- lac
|
|
- %merge
|
|
- multistart
|
|
- push
|
|
- report
|
|
- %union
|
|
- variant
|
|
|
|
# Calculator
|
|
The grammar features several special directives:
|
|
- `!!` YYERROR
|
|
- `!+` YYACCEPT
|
|
- `!-` YYABORT
|
|
- `!*` YYNOMEM
|