ruby-changes:21226
From: nobu <ko1@a...>
Date: Thu, 15 Sep 2011 14:25:05 +0900 (JST)
Subject: [ruby-changes:21226] nobu:r33275 (trunk): * iseq.c (get_line_info, rb_iseq_line_no): fix indent.
nobu 2011-09-15 14:24:42 +0900 (Thu, 15 Sep 2011) New Revision: 33275 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33275 Log: * iseq.c (get_line_info, rb_iseq_line_no): fix indent. Modified files: trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 33274) +++ iseq.c (revision 33275) @@ -704,12 +704,12 @@ if (debug) printf("table[%"PRIdSIZE"]: position: %d, line: %d, pos: %"PRIdSIZE"\n", i, table[i].position, table[i].line_no, pos); - if (table[i].position == pos) { - return &table[i]; - } + if (table[i].position == pos) { + return &table[i]; + } if (table[i].position > pos) { return &table[i-1]; - } + } } } return &table[i-1]; @@ -732,11 +732,11 @@ { if (pos == 0) { return find_line_no(iseq, pos); - } - else { + } + else { return find_line_no(iseq, pos - 1); - } } +} static VALUE insn_operand_intern(rb_iseq_t *iseq, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/