Remove not used fields from AND, OR
This commit is contained in:
parent
443099377f
commit
ef37bdeb4d
2
parse.y
2
parse.y
@ -11172,7 +11172,6 @@ rb_node_and_new(struct parser_params *p, NODE *nd_1st, NODE *nd_2nd, const YYLTY
|
|||||||
rb_node_and_t *n = NODE_NEWNODE(NODE_AND, rb_node_and_t, loc);
|
rb_node_and_t *n = NODE_NEWNODE(NODE_AND, rb_node_and_t, loc);
|
||||||
n->nd_1st = nd_1st;
|
n->nd_1st = nd_1st;
|
||||||
n->nd_2nd = nd_2nd;
|
n->nd_2nd = nd_2nd;
|
||||||
n->not_used = 0;
|
|
||||||
|
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
@ -11183,7 +11182,6 @@ rb_node_or_new(struct parser_params *p, NODE *nd_1st, NODE *nd_2nd, const YYLTYP
|
|||||||
rb_node_or_t *n = NODE_NEWNODE(NODE_OR, rb_node_or_t, loc);
|
rb_node_or_t *n = NODE_NEWNODE(NODE_OR, rb_node_or_t, loc);
|
||||||
n->nd_1st = nd_1st;
|
n->nd_1st = nd_1st;
|
||||||
n->nd_2nd = nd_2nd;
|
n->nd_2nd = nd_2nd;
|
||||||
n->not_used = 0;
|
|
||||||
|
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
@ -353,7 +353,6 @@ typedef struct RNode_AND {
|
|||||||
|
|
||||||
struct RNode *nd_1st;
|
struct RNode *nd_1st;
|
||||||
struct RNode *nd_2nd;
|
struct RNode *nd_2nd;
|
||||||
VALUE not_used;
|
|
||||||
} rb_node_and_t;
|
} rb_node_and_t;
|
||||||
|
|
||||||
typedef struct RNode_OR {
|
typedef struct RNode_OR {
|
||||||
@ -361,7 +360,6 @@ typedef struct RNode_OR {
|
|||||||
|
|
||||||
struct RNode *nd_1st;
|
struct RNode *nd_1st;
|
||||||
struct RNode *nd_2nd;
|
struct RNode *nd_2nd;
|
||||||
VALUE not_used;
|
|
||||||
} rb_node_or_t;
|
} rb_node_or_t;
|
||||||
|
|
||||||
typedef struct RNode_MASGN {
|
typedef struct RNode_MASGN {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user