[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
glr.cc: fix: use symbol_name
From: |
Akim Demaille |
Subject: |
glr.cc: fix: use symbol_name |
Date: |
Sun, 27 Sep 2020 09:21:41 +0200 |
commit 3add9ffbdea4c8dfbab3a3a557837ce445ba9fe3
Author: Akim Demaille <akim.demaille@gmail.com>
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_ << ')';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- glr.cc: fix: use symbol_name,
Akim Demaille <=