From a2badf306661a88ce3001077520655e2b9c6b27c Mon Sep 17 00:00:00 2001 From: yui-knk Date: Tue, 24 Oct 2023 18:54:48 +0900 Subject: [PATCH] Follow up NODE_OP_ASGN2 structure change --- node_dump.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/node_dump.c b/node_dump.c index fdfa4eda09..2262d0b4a0 100644 --- a/node_dump.c +++ b/node_dump.c @@ -477,11 +477,10 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_OP_ASGN2: ANN("attr assignment with operator"); - ANN("format: [nd_recv].[attr] [nd_next->nd_mid]= [nd_value]"); - ANN(" where [attr]: [nd_next->nd_vid]"); + ANN("format: [nd_recv].[nd_vid] [nd_mid]= [nd_value]"); ANN("example: struct.field += foo"); F_NODE(nd_recv, RNODE_OP_ASGN2, "receiver"); - F_CUSTOM1(nd_next->nd_vid, "attr") { + F_CUSTOM1(nd_vid, "attr") { if (RNODE_OP_ASGN2(node)->nd_aid) A("? "); A_ID(RNODE_OP_ASGN2(node)->nd_vid); }