Rename rb_node_name to the original name

98637d421d changes the name of
the function. However this function is exported as global,
then change the name to origin one for keeping compatibility.
This commit is contained in:
yui-knk 2023-05-24 17:24:41 +09:00 committed by Yuichiro Kaneko
parent d8da563f9e
commit 5f65e8c5d5
Notes: git 2023-05-24 11:55:17 +00:00
6 changed files with 16 additions and 16 deletions

View file

@ -148,7 +148,7 @@ ruby_debug_print_node(int level, int debug_level, const char *header, const NODE
{
if (level < debug_level) {
fprintf(stderr, "DBG> %s: %s (%u)\n", header,
rb_node_name(nd_type(node)), nd_line(node));
ruby_node_name(nd_type(node)), nd_line(node));
}
return (NODE *)node;
}