diff options
author | yui-knk <[email protected]> | 2023-09-27 21:41:12 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2023-09-29 10:09:04 +0900 |
commit | 52f8b347a0cc0d0529d5ddaf3094631e8fd914f2 (patch) | |
tree | fc729614c1886b888a9c36a24c4ab8bf7ca41347 | |
parent | 37a783a30cbcc0f5381c955885e525cf702bb506 (diff) |
Remove not used fields from DOT2, DOT3, FLIP2, FLIP3
-rw-r--r-- | parse.y | 2 | ||||
-rw-r--r-- | rubyparser.h | 4 |
2 files changed, 0 insertions, 6 deletions
@@ -11401,7 +11401,6 @@ rb_node_dot2_new(struct parser_params *p, NODE *nd_beg, NODE *nd_end, const YYLT rb_node_dot2_t *n = NODE_NEWNODE(NODE_DOT2, rb_node_dot2_t, loc); n->nd_beg = nd_beg; n->nd_end = nd_end; - n->not_used = 0; return n; } @@ -11412,7 +11411,6 @@ rb_node_dot3_new(struct parser_params *p, NODE *nd_beg, NODE *nd_end, const YYLT rb_node_dot3_t *n = NODE_NEWNODE(NODE_DOT3, rb_node_dot3_t, loc); n->nd_beg = nd_beg; n->nd_end = nd_end; - n->not_used = 0; return n; } diff --git a/rubyparser.h b/rubyparser.h index 6a8a6a2577..1f138975a3 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -920,7 +920,6 @@ typedef struct RNode_DOT2 { struct RNode *nd_beg; struct RNode *nd_end; - VALUE not_used; } rb_node_dot2_t; typedef struct RNode_DOT3 { @@ -928,7 +927,6 @@ typedef struct RNode_DOT3 { struct RNode *nd_beg; struct RNode *nd_end; - VALUE not_used; } rb_node_dot3_t; typedef struct RNode_FLIP2 { @@ -936,7 +934,6 @@ typedef struct RNode_FLIP2 { struct RNode *nd_beg; struct RNode *nd_end; - VALUE not_used; } rb_node_flip2_t; typedef struct RNode_FLIP3 { @@ -944,7 +941,6 @@ typedef struct RNode_FLIP3 { struct RNode *nd_beg; struct RNode *nd_end; - VALUE not_used; } rb_node_flip3_t; typedef struct RNode_SELF { |