diff options
author | yui-knk <[email protected]> | 2023-09-30 22:05:10 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2023-10-01 19:38:03 +0900 |
commit | 08239fd6af915d8a55c1e63c339cf749fecd0cae (patch) | |
tree | bc5c3d5f3f6b9bb1e504f3da035cf70e94497051 /ast.c | |
parent | b0d7935e800a2dd2556728bc463b5ed92f193f1b (diff) |
Use rb_node_args_t and rb_node_args_aux_t instead of NODE
Diffstat (limited to 'ast.c')
-rw-r--r-- | ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -644,7 +644,7 @@ node_children(rb_ast_t *ast, const NODE *node) for (i = 0; i < size; i++) { rb_ary_push(locals, var_name(tbl->ids[i])); } - return rb_ary_new_from_args(3, locals, NEW_CHILD(ast, RNODE_SCOPE(node)->nd_args), NEW_CHILD(ast, RNODE_SCOPE(node)->nd_body)); + return rb_ary_new_from_args(3, locals, NEW_CHILD(ast, (NODE *)RNODE_SCOPE(node)->nd_args), NEW_CHILD(ast, RNODE_SCOPE(node)->nd_body)); } case NODE_ARYPTN: { |