mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
node.c (NODE_HASH): remove wrong default case
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d11fbf43c2
commit
641870746f
1 changed files with 1 additions and 2 deletions
3
node.c
3
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue