aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-05-24 17:24:41 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2023-05-24 20:54:48 +0900
commit5f65e8c5d5b625462121e01cc15e88be5729b60c (patch)
treec3ad3c84e88ed3e637e8971ed946089e0a9b0147 /debug.c
parentd8da563f9e720271707698bb8764a0f147244887 (diff)
downloadruby-5f65e8c5d5b625462121e01cc15e88be5729b60c.tar.gz
Rename `rb_node_name` to the original name
98637d421dbe8bcf86cc2effae5e26bb96a6a4da changes the name of the function. However this function is exported as global, then change the name to origin one for keeping compatibility.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index bb42652335..d3f41f1a3a 100644
--- a/debug.c
+++ b/debug.c
@@ -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;
}