summaryrefslogtreecommitdiff
path: root/node.h
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 /node.h
parentd8da563f9e720271707698bb8764a0f147244887 (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7852
Diffstat (limited to 'node.h')
-rw-r--r--node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.h b/node.h
index 5ec98e559c..befb1328fb 100644
--- a/node.h
+++ b/node.h
@@ -441,7 +441,7 @@ rb_ast_t *rb_parser_compile_file_path(VALUE vparser, VALUE fname, VALUE input, i
rb_ast_t *rb_parser_compile_generic(VALUE vparser, VALUE (*lex_gets)(VALUE, int), VALUE fname, VALUE input, int line);
void rb_node_init(NODE *n, enum node_type type, VALUE a0, VALUE a1, VALUE a2);
-const char *rb_node_name(int node);
+const char *ruby_node_name(int node);
const struct kwtable *rb_reserved_word(const char *, unsigned int);