Remove not used fields from LAMBDA
This commit is contained in:
parent
97564ddf2b
commit
443099377f
2
parse.y
2
parse.y
@ -11290,9 +11290,7 @@ rb_node_lambda_new(struct parser_params *p, NODE *nd_args, NODE *nd_body, const
|
||||
/* Keep the order of node creation */
|
||||
NODE *scope = NEW_SCOPE(nd_args, nd_body, loc);
|
||||
rb_node_lambda_t *n = NODE_NEWNODE(NODE_LAMBDA, rb_node_lambda_t, loc);
|
||||
n->not_used = 0;
|
||||
n->nd_body = scope;
|
||||
n->not_used2 = 0;
|
||||
|
||||
return n;
|
||||
}
|
||||
|
@ -980,9 +980,7 @@ typedef struct RNode_ATTRASGN {
|
||||
typedef struct RNode_LAMBDA {
|
||||
NODE node;
|
||||
|
||||
VALUE not_used;
|
||||
struct RNode *nd_body;
|
||||
VALUE not_used2;
|
||||
} rb_node_lambda_t;
|
||||
|
||||
typedef struct RNode_ARYPTN {
|
||||
|
Loading…
x
Reference in New Issue
Block a user