From 0b11e039d7a38550bf5d93df96081e0bf3df29a4 Mon Sep 17 00:00:00 2001 From: ydah Date: Wed, 11 Sep 2024 16:09:54 +0900 Subject: [PATCH] Fix wrong NODE name --- node_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node_dump.c b/node_dump.c index 7c2faf3f42..882bf15486 100644 --- a/node_dump.c +++ b/node_dump.c @@ -354,7 +354,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) ANN("example: break 1"); F_NODE(nd_stts, RNODE_BREAK, "value"); LAST_NODE; - F_LOC(keyword_loc, RNODE_REDO); + F_LOC(keyword_loc, RNODE_BREAK); return; case NODE_NEXT: ANN("next statement"); @@ -362,7 +362,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) ANN("example: next 1"); F_NODE(nd_stts, RNODE_NEXT, "value"); LAST_NODE; - F_LOC(keyword_loc, RNODE_REDO); + F_LOC(keyword_loc, RNODE_NEXT); return; case NODE_RETURN: ANN("return statement");