mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove needless check
`nodetype_markable_p` always returns `false` then `rb_ast_node_type_change` never calls `rb_bug`.
This commit is contained in:
parent
fc8fe78c07
commit
cebbe18eed
2 changed files with 0 additions and 25 deletions
3
node.h
3
node.h
|
@ -53,9 +53,6 @@ rb_ast_t *rb_ast_new(void);
|
|||
#endif
|
||||
size_t rb_ast_memsize(const rb_ast_t*);
|
||||
void rb_ast_dispose(rb_ast_t*);
|
||||
#if RUBY_DEBUG
|
||||
void rb_ast_node_type_change(NODE *n, enum node_type type);
|
||||
#endif
|
||||
const char *ruby_node_name(int node);
|
||||
void rb_node_init(NODE *n, enum node_type type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue