mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-24 03:33:03 +00:00
yacc.c: check custom error messages with parse-params
* tests/calc.at: Check with prefix and parse-params.
This commit is contained in:
@@ -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])
|
||||||
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. #
|
# Simple GLR Calculator. #
|
||||||
|
|||||||
Reference in New Issue
Block a user