aboutsummaryrefslogtreecommitdiffstats
path: root/node.h
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-05-22 21:55:49 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2023-05-23 18:05:35 +0900
commit98637d421dbe8bcf86cc2effae5e26bb96a6a4da (patch)
tree991149893428e3b074774caba9533bb221e5ca42 /node.h
parentef3aa22738d934beedfda9f486f3384e5457da8b (diff)
downloadruby-98637d421dbe8bcf86cc2effae5e26bb96a6a4da.tar.gz
Move `ruby_node_name` to node.c and rename prefix of the function
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 befb1328fb..5ec98e559c 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 *ruby_node_name(int node);
+const char *rb_node_name(int node);
const struct kwtable *rb_reserved_word(const char *, unsigned int);