mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Expand pattern_info struct into ARYPTN Node and FNDPTN Node
This commit is contained in:
parent
1b97c17e03
commit
d293d9e191
6 changed files with 62 additions and 87 deletions
6
node.c
6
node.c
|
@ -175,12 +175,6 @@ free_ast_value(rb_ast_t *ast, void *ctx, NODE *node)
|
|||
case NODE_ARGS:
|
||||
xfree(RNODE_ARGS(node)->nd_ainfo);
|
||||
break;
|
||||
case NODE_ARYPTN:
|
||||
xfree(RNODE_ARYPTN(node)->nd_apinfo);
|
||||
break;
|
||||
case NODE_FNDPTN:
|
||||
xfree(RNODE_FNDPTN(node)->nd_fpinfo);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue