summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-13 08:17:21 (GMT)
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-13 08:20:11 (GMT)
commit5f5aca1b5fb95013f5b805f74ead4cfa143dc1d8 (patch)
treeec090c05880b65a3c8192452bec30775427fa3ce
parent2da6b328bb5124793a6420c55325f3106b615bb4 (diff)
Moved ruby_node_name declaration to node.h
-rw-r--r--node.h1
-rw-r--r--vm_core.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/node.h b/node.h
index 73b9444..a493dfa 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 52d08fc..99c4d13 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);