ruby-changes:2866
From: ko1@a...
Date: 20 Dec 2007 16:44:17 +0900
Subject: [ruby-changes:2866] ko1 - Ruby:r14357 (trunk): * iseq.c (find_line_no): return 0 if not found.
ko1 2007-12-20 16:44:03 +0900 (Thu, 20 Dec 2007) New Revision: 14357 Modified files: trunk/ChangeLog trunk/iseq.c Log: * iseq.c (find_line_no): return 0 if not found. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14357&r2=14356 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/iseq.c?r1=14357&r2=14356 Index: ChangeLog =================================================================== --- ChangeLog (revision 14356) +++ ChangeLog (revision 14357) @@ -1,3 +1,7 @@ +Thu Dec 20 16:42:55 2007 Koichi Sasada <ko1@a...> + + * iseq.c (find_line_no): return 0 if not found. + Thu Dec 20 16:04:17 2007 Koichi Sasada <ko1@a...> * insnhelper.ci, vm.c, vm_core.h: change interface of Index: iseq.c =================================================================== --- iseq.c (revision 14356) +++ iseq.c (revision 14357) @@ -559,6 +559,9 @@ if (entry) { return entry->line_no; } + else { + return 0; + } } static unsigned short -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml