tests: check YYACCEPT and YYABORT

There are some tests that cover them, but nothing for all the
skeletons.  Let's do that in the calculator tests.

* tests/calc.at: Check YYACCEPT and YYABORT.
This commit is contained in:
Akim Demaille
2021-01-16 08:01:33 +01:00
parent c1494a7871
commit 3a9529eaed
2 changed files with 43 additions and 8 deletions

View File

@@ -7,6 +7,8 @@ define a number of other macros to:
- 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++
@@ -24,3 +26,9 @@ define a number of other macros to:
- report
- %union
- variant
# Calculator
The grammar features several special directives:
- `!!` YYERROR
- `!+` YYACCEPT
- `!-` YYABORT