Skip to content

Commit

Permalink
Moved ruby_node_name declaration to node.h
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Sep 13, 2019
1 parent 2da6b32 commit 5f5aca1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions node.h
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion vm_core.h
Expand Up @@ -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);

Expand Down

0 comments on commit 5f5aca1

Please sign in to comment.