Move ruby_node_name to node.c and rename prefix of the function

This commit is contained in:
yui-knk 2023-05-22 21:55:49 +09:00 committed by Yuichiro Kaneko
parent ef3aa22738
commit 98637d421d
Notes: git 2023-05-23 09:05:55 +00:00
8 changed files with 27 additions and 27 deletions

2
node.h
View file

@ -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);