Remove not used fields from MODULE, SCLASS
This commit is contained in:
parent
4e90be4c93
commit
4c18615ffe
2
parse.y
2
parse.y
@ -11251,7 +11251,6 @@ rb_node_sclass_new(struct parser_params *p, NODE *nd_recv, NODE *nd_body, const
|
||||
rb_node_sclass_t *n = NODE_NEWNODE(NODE_SCLASS, rb_node_sclass_t, loc);
|
||||
n->nd_recv = nd_recv;
|
||||
n->nd_body = scope;
|
||||
n->not_used = 0;
|
||||
|
||||
return n;
|
||||
}
|
||||
@ -11264,7 +11263,6 @@ rb_node_module_new(struct parser_params *p, NODE *nd_cpath, NODE *nd_body, const
|
||||
rb_node_module_t *n = NODE_NEWNODE(NODE_MODULE, rb_node_module_t, loc);
|
||||
n->nd_cpath = nd_cpath;
|
||||
n->nd_body = scope;
|
||||
n->not_used = 0;
|
||||
|
||||
return n;
|
||||
}
|
||||
|
@ -845,7 +845,6 @@ typedef struct RNode_MODULE {
|
||||
|
||||
struct RNode *nd_cpath;
|
||||
struct RNode *nd_body;
|
||||
VALUE not_used;
|
||||
} rb_node_module_t;
|
||||
|
||||
typedef struct RNode_SCLASS {
|
||||
@ -853,7 +852,6 @@ typedef struct RNode_SCLASS {
|
||||
|
||||
struct RNode *nd_recv;
|
||||
struct RNode *nd_body;
|
||||
VALUE not_used;
|
||||
} rb_node_sclass_t;
|
||||
|
||||
typedef struct RNode_COLON2 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user