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

* iseq.c (find_line_no): return 0 if not found.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-12-20 07:44:03 +00:00
parent 314bef7ef1
commit be137f3601
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Thu Dec 20 16:42:55 2007 Koichi Sasada <ko1@atdot.net>
* iseq.c (find_line_no): return 0 if not found.
Thu Dec 20 16:04:17 2007 Koichi Sasada <ko1@atdot.net>
* insnhelper.ci, vm.c, vm_core.h: change interface of

3
iseq.c
View file

@ -559,6 +559,9 @@ find_line_no(rb_iseq_t *iseq, unsigned long pos)
if (entry) {
return entry->line_no;
}
else {
return 0;
}
}
static unsigned short