diff --git a/node.h b/node.h index 73b9444214..a493dfa123 100644 --- a/node.h +++ b/node.h @@ -432,6 +432,7 @@ rb_ast_t *rb_compile_string(const char*, VALUE, int); rb_ast_t *rb_compile_file(const char*, VALUE, int); void rb_node_init(NODE *n, enum node_type type, VALUE a0, VALUE a1, VALUE a2); +const char *ruby_node_name(int node); const struct kwtable *rb_reserved_word(const char *, unsigned int); diff --git a/vm_core.h b/vm_core.h index 52d08fc678..99c4d13f66 100644 --- a/vm_core.h +++ b/vm_core.h @@ -1020,7 +1020,6 @@ rb_iseq_t *rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE realpath, VA VALUE rb_iseq_disasm(const rb_iseq_t *iseq); int rb_iseq_disasm_insn(VALUE str, const VALUE *iseqval, size_t pos, const rb_iseq_t *iseq, VALUE child); -const char *ruby_node_name(int node); VALUE rb_iseq_coverage(const rb_iseq_t *iseq);