diff --git a/ChangeLog b/ChangeLog index 22fad1406a..15a66ee40c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu May 17 13:01:52 2007 Koichi Sasada + + * iseq.c (ruby_iseq_disasm): fix to show post arg info. + Thu May 17 12:56:52 2007 Koichi Sasada * debug.c (ruby_debug_node): fix to show node line. diff --git a/iseq.c b/iseq.c index 0a4dd824b6..11d5b9cbaa 100644 --- a/iseq.c +++ b/iseq.c @@ -752,9 +752,10 @@ ruby_iseq_disasm(VALUE self) if (tbl) { snprintf(buff, sizeof(buff), "local table (size: %d, argc: %d " - "[opts: %d, rest: %d, block: %d] %s)\n", + "[opts: %d, rest: %d, post: %d, block: %d] %s)\n", iseqdat->local_size, iseqdat->argc, - iseqdat->arg_opts, iseqdat->arg_rest, iseqdat->arg_block, + iseqdat->arg_opts, iseqdat->arg_rest, + iseqdat->arg_post_len, iseqdat->arg_block, iseqdat->arg_simple ? "s" : "c"); rb_str_cat2(str, buff);