ruby-changes:52982
From: svn <ko1@a...>
Date: Sat, 20 Oct 2018 14:33:19 +0900 (JST)
Subject: [ruby-changes:52982] svn:r65196 (trunk): * expand tabs.
svn 2018-10-20 14:33:13 +0900 (Sat, 20 Oct 2018) New Revision: 65196 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65196 Log: * expand tabs. Modified files: trunk/ext/coverage/coverage.c trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 65195) +++ iseq.c (revision 65196) @@ -1661,7 +1661,7 @@ rb_iseq_clear_event_flags(const rb_iseq_ https://github.com/ruby/ruby/blob/trunk/iseq.c#L1661 { struct iseq_insn_info_entry *entry = (struct iseq_insn_info_entry *)get_insn_info(iseq, pos); if (entry) { - entry->events &= ~reset; + entry->events &= ~reset; if (!(entry->events & iseq->aux.trace_events)) { void rb_iseq_trace_flag_cleared(const rb_iseq_t *iseq, int pos); rb_iseq_trace_flag_cleared(iseq, pos); Index: ext/coverage/coverage.c =================================================================== --- ext/coverage/coverage.c (revision 65195) +++ ext/coverage/coverage.c (revision 65196) @@ -45,7 +45,7 @@ rb_coverage_start(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/ext/coverage/coverage.c#L45 mode |= COVERAGE_TARGET_BRANCHES; if (RTEST(rb_hash_lookup(opt, ID2SYM(rb_intern("methods"))))) mode |= COVERAGE_TARGET_METHODS; - if (RTEST(rb_hash_lookup(opt, ID2SYM(rb_intern("oneshot_lines"))))) { + if (RTEST(rb_hash_lookup(opt, ID2SYM(rb_intern("oneshot_lines"))))) { if (mode & COVERAGE_TARGET_LINES) rb_raise(rb_eRuntimeError, "cannot enable lines and oneshot_lines simultaneously"); mode |= COVERAGE_TARGET_LINES; @@ -185,7 +185,7 @@ coverage_peek_result_i(st_data_t key, st https://github.com/ruby/ruby/blob/trunk/ext/coverage/coverage.c#L185 const char *kw = (current_mode & COVERAGE_TARGET_ONESHOT_LINES) ? "oneshot_lines" : "lines"; lines = rb_ary_dup(lines); rb_ary_freeze(lines); - rb_hash_aset(h, ID2SYM(rb_intern(kw)), lines); + rb_hash_aset(h, ID2SYM(rb_intern(kw)), lines); } if (current_mode & COVERAGE_TARGET_BRANCHES) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/