Skip to content

Commit

Permalink
glr.cc: fix: use symbol_name
Browse files Browse the repository at this point in the history
* data/skeletons/glr.cc: here.
  • Loading branch information
akimd committed Sep 26, 2020
1 parent f296669 commit 3add9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/skeletons/glr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_ << ')';
Expand Down

0 comments on commit 3add9ff

Please sign in to comment.