[ruby-cvs:67914] ko1:r60733 (trunk): refactoring about source line.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Nov 10 14:26:52 JST 2017


ko1	2017-11-10 14:26:52 +0900 (Fri, 10 Nov 2017)

  New Revision: 60733

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60733

  Log:
    refactoring about source line.
    
    * iseq.c (find_line_no): renamed to rb_iseq_line_no().
    
    * vm_backtrace.c (calc_lineno): add a comment why we need to use "pos-1".

  Modified files:
    trunk/iseq.c
    trunk/vm_backtrace.c


More information about the ruby-cvs mailing list