yacc.c: check custom error messages with parse-params

* tests/calc.at: Check with prefix and parse-params.
This commit is contained in:
Akim Demaille
2020-01-12 17:27:16 +01:00
parent fd33cc9c8b
commit e83077c617

View File

@@ -788,7 +788,8 @@ AT_CHECK_CALC_LALR([%no-lines %define api.pure %define parse.error verbose %debu
AT_CHECK_CALC_LALR([%define parse.error custom])
AT_CHECK_CALC_LALR([%define parse.error custom %locations])
AT_CHECK_CALC_LALR([%define parse.error custom %locations %define api.prefix {calc}])
AT_CHECK_CALC_LALR([%define parse.error custom %locations %define api.prefix {calc} %parse-param {semantic_value *result}{int *count}])
# ----------------------- #
# Simple GLR Calculator. #