From 5f5aca1b5fb95013f5b805f74ead4cfa143dc1d8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 13 Sep 2019 17:17:21 +0900 Subject: [PATCH] Moved ruby_node_name declaration to node.h --- node.h | 1 + vm_core.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/node.h b/node.h index 73b944421468d0..a493dfa123fa0d 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 52d08fc678db6a..99c4d13f667974 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);