summaryrefslogtreecommitdiff
path: root/tests/calc.at
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-01-29 07:17:38 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-01-29 19:48:12 +0100
commitc4a08d1899014d5f73ef42173fece79a2fa41f5b (patch)
treef65bbed948b164c94b587060d512091576d7549e /tests/calc.at
parent50fb1e6e0c5bd81897f678a534b98b3bdad7a70f (diff)
downloadbison-c4a08d1899014d5f73ef42173fece79a2fa41f5b.tar.gz
glr.c: add support for parse.error=detailed
* data/skeletons/glr.c (yystrlen, yysymbol_name): New. Implement parse.error detailed. * tests/calc.at: Check it.
Diffstat (limited to 'tests/calc.at')
-rw-r--r--tests/calc.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/calc.at b/tests/calc.at
index 074bd90a..3adec377 100644
--- a/tests/calc.at
+++ b/tests/calc.at
@@ -878,6 +878,7 @@ AT_CHECK_CALC_GLR([%define api.pure %locations])
AT_CHECK_CALC_GLR([%define parse.error verbose %locations])
AT_CHECK_CALC_GLR([%define parse.error verbose %locations %defines %name-prefix "calc" %verbose %yacc])
+AT_CHECK_CALC_GLR([%define parse.error detailed %locations %defines %name-prefix "calc" %verbose %yacc])
AT_CHECK_CALC_GLR([%debug])
AT_CHECK_CALC_GLR([%define parse.error verbose %debug %locations %defines %name-prefix "calc" %verbose %yacc])