glr.cc: fix: use symbol_name

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
commit 3add9ffbdea4c8dfbab3a3a557837ce445ba9fe3
Author: Akim Demaille <[email protected]>
Date:   Sat Sep 26 14:32:25 2020 +0200

    glr.cc: fix: use symbol_name
    
    * data/skeletons/glr.cc: here.

diff --git a/data/skeletons/glr.cc b/data/skeletons/glr.cc
index 8e4878f7..e23702ca 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_ << ')';
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.