diff options
author | yui-knk <spiketeika@gmail.com> | 2023-09-27 21:58:16 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-09-29 08:36:39 +0900 |
commit | 37a783a30cbcc0f5381c955885e525cf702bb506 (patch) | |
tree | 5c8159666ba31b333a9ed0635a57ed8d27a70e9b /node_dump.c | |
parent | 23bcdda37771bbc606535e0a6b0b428b5c26e847 (diff) |
Merge RNode_OP_ASGN2 and RNode_OP_ASGN22
Diffstat (limited to 'node_dump.c')
-rw-r--r-- | node_dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_dump.c b/node_dump.c index e4862da0eb..81fed547ac 100644 --- a/node_dump.c +++ b/node_dump.c @@ -479,10 +479,10 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) ANN("example: struct.field += foo"); F_NODE(nd_recv, RNODE_OP_ASGN2, "receiver"); F_CUSTOM1(nd_next->nd_vid, "attr") { - if (RNODE_OP_ASGN2(node)->nd_next->nd_aid) A("? "); - A_ID(RNODE_OP_ASGN2(node)->nd_next->nd_vid); + if (RNODE_OP_ASGN2(node)->nd_aid) A("? "); + A_ID(RNODE_OP_ASGN2(node)->nd_vid); } - F_ID(nd_next->nd_mid, RNODE_OP_ASGN2, "operator"); + F_ID(nd_mid, RNODE_OP_ASGN2, "operator"); LAST_NODE; F_NODE(nd_value, RNODE_OP_ASGN2, "rvalue"); return; |