1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

iseq.c: keyword arguments

* iseq.c (rb_iseq_disasm): fix keyword arguments index.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-03-07 04:38:45 +00:00
parent 9926b16d35
commit 94daa860e5

2
iseq.c
View file

@ -1395,7 +1395,7 @@ rb_iseq_disasm(VALUE self)
iseqdat->local_size, iseqdat->argc, iseqdat->local_size, iseqdat->argc,
iseqdat->arg_opts, iseqdat->arg_rest, iseqdat->arg_opts, iseqdat->arg_rest,
iseqdat->arg_post_len, iseqdat->arg_block, iseqdat->arg_post_len, iseqdat->arg_block,
iseqdat->arg_keywords, iseqdat->arg_keyword, iseqdat->arg_keywords, iseqdat->local_size-iseqdat->arg_keyword,
iseqdat->arg_simple); iseqdat->arg_simple);
for (i = 0; i < iseqdat->local_table_size; i++) { for (i = 0; i < iseqdat->local_table_size; i++) {