summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'node.c')
-rw-r--r--node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/node.c b/node.c
index 698b73e6b3..eef7074741 100644
--- a/node.c
+++ b/node.c
@@ -583,11 +583,10 @@ dump_node(VALUE buf, VALUE indent, int comment, NODE *node)
ANN("format: { [nd_head] }");
ANN("example: { 1 => 2, 3 => 4 }");
}
- F_CUSTOM1(nd_alen, "keyword-arguments-or-hash-literal") {
+ F_CUSTOM1(nd_alen, "keyword arguments or hash literal") {
switch (node->nd_alen) {
case 0: A("0 (keyword argument)"); break;
case 1: A("1 (hash literal)"); break;
- default: A_ID(node->nd_alen);
}
}
LAST_NODE;