diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-28 13:22:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-28 13:22:13 +0000 |
commit | 7c9fa8f9bba6760185115204db73c1371e047f6b (patch) | |
tree | 586db5718a83ae9ba7c09cb19386a3831b1e2958 /node.c | |
parent | 7b3878e1d0b535184f4a82ddd0b4cf08f1c51558 (diff) |
Use nd_X shorthand for annotation
[Fix GH-1901]
From: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"); |