summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-09-26 14:32:25 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-09-27 09:22:02 +0200
commitc08e0863be8743fa5a335a615de9a857afbd1544 (patch)
tree48a1abbc688b49b2122a456159782f6497b41922
parent541943ee04ee22101bbbde2386272b1cad635132 (diff)
downloadbison-c08e0863be8743fa5a335a615de9a857afbd1544.tar.gz
glr.cc: fix: use symbol_name
* data/skeletons/glr.cc: here.
-rw-r--r--data/skeletons/glr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/skeletons/glr.cc b/data/skeletons/glr.cc
index 56279f42..8ba34fc2 100644
--- a/data/skeletons/glr.cc
+++ b/data/skeletons/glr.cc
@@ -172,7 +172,7 @@ m4_pushdef([b4_parse_param], m4_defn([b4_parse_param_orig]))dnl
const location_type* yylocationp]])[) const
{
*yycdebug_ << (yykind < YYNTOKENS ? "token" : "nterm")
- << ' ' << yytname[yykind] << " ("]b4_locations_if([[
+ << ' ' << yysymbol_name (yykind) << " ("]b4_locations_if([[
<< *yylocationp << ": "]])[;
yy_symbol_value_print_ (yykind, yyvaluep]b4_locations_if([[, yylocationp]])[);
*yycdebug_ << ')';