* expand tabs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2018-12-31 15:00:52 +00:00
parent 67c5747369
commit d935a0ab95
2 changed files with 8 additions and 8 deletions

View File

@ -471,7 +471,7 @@ count_nodes(int argc, VALUE *argv, VALUE os)
COUNT_NODE(NODE_DSYM); COUNT_NODE(NODE_DSYM);
COUNT_NODE(NODE_ATTRASGN); COUNT_NODE(NODE_ATTRASGN);
COUNT_NODE(NODE_LAMBDA); COUNT_NODE(NODE_LAMBDA);
COUNT_NODE(NODE_METHREF); COUNT_NODE(NODE_METHREF);
#undef COUNT_NODE #undef COUNT_NODE
case NODE_LAST: break; case NODE_LAST: break;
} }

14
node.c
View File

@ -935,13 +935,13 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node)
return; return;
case NODE_METHREF: case NODE_METHREF:
ANN("method reference"); ANN("method reference");
ANN("format: [nd_recv].:[nd_mid]"); ANN("format: [nd_recv].:[nd_mid]");
ANN("example: foo.:method"); ANN("example: foo.:method");
F_NODE(nd_recv, "receiver"); F_NODE(nd_recv, "receiver");
LAST_NODE; LAST_NODE;
F_ID(nd_mid, "method name"); F_ID(nd_mid, "method name");
return; return;
case NODE_LAMBDA: case NODE_LAMBDA:
ANN("lambda expression"); ANN("lambda expression");