aboutsummaryrefslogtreecommitdiffstats
path: root/rubyparser.h
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2023-10-07 10:46:08 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2023-10-07 17:54:35 +0900
commit5810304c2edce3f9e889b4f55cf5c442a92d1a48 (patch)
tree53d4dba4cc540328e33a381525249a92f3503c77 /rubyparser.h
parent529a651f82855956b6bd54794d629f91964e9de9 (diff)
downloadruby-5810304c2edce3f9e889b4f55cf5c442a92d1a48.tar.gz
Remove not used fields from asgn nodes
Diffstat (limited to 'rubyparser.h')
-rw-r--r--rubyparser.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/rubyparser.h b/rubyparser.h
index f46d847dfd..96ec404528 100644
--- a/rubyparser.h
+++ b/rubyparser.h
@@ -354,13 +354,11 @@ typedef struct RNode_MASGN {
struct RNode *nd_args;
} rb_node_masgn_t;
-/* RNode_LASGN, RNode_DASGN, RNode_IASGN, RNode_CVASGN and RNode_GASGN should be same structure */
typedef struct RNode_LASGN {
NODE node;
ID nd_vid;
struct RNode *nd_value;
- VALUE not_used;
} rb_node_lasgn_t;
typedef struct RNode_DASGN {
@@ -368,7 +366,6 @@ typedef struct RNode_DASGN {
ID nd_vid;
struct RNode *nd_value;
- VALUE not_used;
} rb_node_dasgn_t;
typedef struct RNode_GASGN {
@@ -376,7 +373,6 @@ typedef struct RNode_GASGN {
ID nd_vid;
struct RNode *nd_value;
- VALUE not_used;
} rb_node_gasgn_t;
typedef struct RNode_IASGN {
@@ -384,7 +380,6 @@ typedef struct RNode_IASGN {
ID nd_vid;
struct RNode *nd_value;
- VALUE not_used;
} rb_node_iasgn_t;
typedef struct RNode_CDECL {
@@ -400,7 +395,6 @@ typedef struct RNode_CVASGN {
ID nd_vid;
struct RNode *nd_value;
- VALUE not_used;
} rb_node_cvasgn_t;
typedef struct RNode_OP_ASGN1 {