Files
bison/tests/README.md
Akim Demaille 77a8b84fc8 tests: provide check-examples and check-tests
* examples/local.mk (check-examples): New.
* tests/local.mk (check-tests): New.
* README-hacking.md: Document them.
2021-01-27 20:48:38 +01:00

37 lines
782 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 (with
AT_KEYWORDS([[category]])). Please follow them and avoid creating
synonyms.
- action
- api.value.type
- c++: c++ language
- cex: counterexamples.
- d: d language
- deprec: deprecated features.
- diagnostics
- glr
- graph
- java
- lac
- %merge
- multistart
- push
- report: for automaton dumps
- %union
- variant
# Calculator
The grammar features several special directives:
- `!!` YYERROR
- `!+` YYACCEPT
- `!-` YYABORT
- `!*` YYNOMEM