diff options
-rw-r--r-- | ext/objspace/objspace.c | 2 | ||||
-rw-r--r-- | node.c | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index dced0740bc..2fa6833699 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -471,7 +471,7 @@ count_nodes(int argc, VALUE *argv, VALUE os) COUNT_NODE(NODE_DSYM); COUNT_NODE(NODE_ATTRASGN); COUNT_NODE(NODE_LAMBDA); - COUNT_NODE(NODE_METHREF); + COUNT_NODE(NODE_METHREF); #undef COUNT_NODE case NODE_LAST: break; } @@ -935,13 +935,13 @@ dump_node(VALUE buf, VALUE indent, int comment, const NODE * node) return; case NODE_METHREF: - ANN("method reference"); - ANN("format: [nd_recv].:[nd_mid]"); - ANN("example: foo.:method"); - F_NODE(nd_recv, "receiver"); - LAST_NODE; - F_ID(nd_mid, "method name"); - return; + ANN("method reference"); + ANN("format: [nd_recv].:[nd_mid]"); + ANN("example: foo.:method"); + F_NODE(nd_recv, "receiver"); + LAST_NODE; + F_ID(nd_mid, "method name"); + return; case NODE_LAMBDA: ANN("lambda expression"); |