diff options
author | yui-knk <spiketeika@gmail.com> | 2023-10-03 23:35:17 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-10-04 12:15:39 +0900 |
commit | ed8a3428e449711f014afa5cb22f4ff2780b0cfe (patch) | |
tree | f7bb836a8d51c623480a5887622dc2615c47478a /rubyparser.h | |
parent | 2e1762c9e0d8f68f3133c36f89df24e2d43b88ae (diff) |
Remove not used fields from variable nodes
Diffstat (limited to 'rubyparser.h')
-rw-r--r-- | rubyparser.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/rubyparser.h b/rubyparser.h index 44ab4eaa50..0258528ed9 100644 --- a/rubyparser.h +++ b/rubyparser.h @@ -562,54 +562,40 @@ typedef struct RNode_YIELD { VALUE not_used2; } rb_node_yield_t; -/* RNode_LVAR and RNode_DVAR should be same structure */ typedef struct RNode_LVAR { NODE node; ID nd_vid; - VALUE not_used; - VALUE not_used2; } rb_node_lvar_t; typedef struct RNode_DVAR { NODE node; ID nd_vid; - VALUE not_used; - VALUE not_used2; } rb_node_dvar_t; -/* RNode_GVAR, RNode_IVAR, RNode_CONST and RNode_CVAR should be same structure */ typedef struct RNode_GVAR { NODE node; ID nd_vid; - VALUE not_used; - VALUE not_used2; } rb_node_gvar_t; typedef struct RNode_IVAR { NODE node; ID nd_vid; - VALUE not_used; - VALUE not_used2; } rb_node_ivar_t; typedef struct RNode_CONST { NODE node; ID nd_vid; - VALUE not_used; - VALUE not_used2; } rb_node_const_t; typedef struct RNode_CVAR { NODE node; ID nd_vid; - VALUE not_used; - VALUE not_used2; } rb_node_cvar_t; typedef struct RNode_NTH_REF { |