summaryrefslogtreecommitdiff
path: root/node_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'node_dump.c')
-rw-r--r--node_dump.c6
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;