mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* proc.c (proc_to_s): revert the change from %p to %lx at YARV
merge time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e2bc064096
commit
f11a6f2d65
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jun 22 19:55:51 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* proc.c (proc_to_s): revert the change from %p to %lx at YARV
|
||||
merge time.
|
||||
|
||||
Fri Jun 22 19:33:49 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* proc.c (proc_to_s): show is_lambda.
|
||||
|
|
2
proc.c
2
proc.c
|
@ -552,7 +552,7 @@ proc_to_s(VALUE self)
|
|||
if (iseq->insn_info_tbl) {
|
||||
line_no = iseq->insn_info_tbl[0].line_no;
|
||||
}
|
||||
str = rb_sprintf("#<%s:%lx@%s:%d%s>", cname, self,
|
||||
str = rb_sprintf("#<%s:%p@%s:%d%s>", cname, self,
|
||||
RSTRING_PTR(iseq->filename),
|
||||
line_no,
|
||||
proc->is_lambda ? " (lambda)" : "");
|
||||
|
|
Loading…
Reference in a new issue