diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-23 11:52:36 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-23 11:52:36 +0000 |
commit | 4a738901891517f41283e5146e98a1ca95bd7c1e (patch) | |
tree | 9436d2f411a055b7a7dbc65c04ded4e128e48903 /thread.c | |
parent | 1046eae7814930fb326371930715122d647457a2 (diff) |
thread.c: Update documents
* thread.c (rb_default_coverage): Update documents of internal
data structures for branch coverage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -5089,14 +5089,14 @@ rb_default_coverage(int n) branches = rb_ary_tmp_new_fill(2); /* internal data structures for branch coverage: * - * [[base_type, base_lineno, - * target_type_1, target_lineno_1, target_counter_index_1, - * target_type_2, target_lineno_2, target_counter_index_2, ...], + * [[base_type, base_first_lineno, base_first_column, base_last_lineno, base_last_column, + * target_type_1, target_first_lineno_1, target_first_column_1, target_last_lineno_1, target_last_column_1, target_counter_index_1, + * target_type_2, target_first_lineno_2, target_first_column_2, target_last_lineno_2, target_last_column_2, target_counter_index_2, ...], * ...] * - * Example: [[:case, 1, - * :when, 2, 0, - * :when, 3, 1, ...], + * Example: [[:case, 1, 0, 4, 3, + * :when, 2, 8, 2, 9, 0, + * :when, 3, 8, 3, 9, 1, ...], * ...] */ RARRAY_ASET(branches, 0, rb_ary_tmp_new(0)); |