From 7c9fa8f9bba6760185115204db73c1371e047f6b Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 28 Jun 2018 13:22:13 +0000 Subject: Use nd_X shorthand for annotation [Fix GH-1901] From: hkdnet git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- node.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node.c b/node.c index b0cf67b041..2f626cacfd 100644 --- a/node.c +++ b/node.c @@ -787,7 +787,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_ALIAS: ANN("method alias statement"); - ANN("format: alias [u1.node] [u2.node]"); + ANN("format: alias [nd_1st] [nd_2nd]"); ANN("example: alias bar foo"); F_NODE(nd_1st, "new name"); LAST_NODE; @@ -796,7 +796,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_VALIAS: ANN("global variable alias statement"); - ANN("format: alias [u1.id](gvar) [u2.id](gvar)"); + ANN("format: alias [nd_alias](gvar) [nd_orig](gvar)"); ANN("example: alias $y $x"); F_ID(nd_alias, "new name"); F_ID(nd_orig, "old name"); @@ -804,7 +804,7 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) case NODE_UNDEF: ANN("method alias statement"); - ANN("format: undef [u2.node]"); + ANN("format: undef [nd_undef]"); ANN("example: undef foo"); LAST_NODE; F_NODE(nd_undef, "old name"); -- cgit v1.2.3