Skip to content

Commit 9edb32d

Browse files
committed
add #line [ci skip]
These erb files are in fact erb comments + plain C. Adding #line help us debug in case we have trouble there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 2914522 commit 9edb32d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tool/ruby_vm/views/_leaf_helpers.erb

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
%# conditions mentioned in the file COPYING are met. Consult the file for
77
%# details.
88
%;
9+
#line <%= __LINE__ + 1 %> <%=cstr __FILE__ %>
910

1011
static bool
1112
leafness_of_getglobal(VALUE gentry)
@@ -103,3 +104,4 @@ leafness_of_checkmatch(rb_num_t flag)
103104
return false;
104105
}
105106
}
107+
#pragma RubyVM reset source

tool/ruby_vm/views/_sp_inc_helpers.erb

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
%# conditions mentioned in the file COPYING are met. Consult the file for
77
%# details.
88
%;
9+
#line <%= __LINE__ + 1 %> <%=cstr __FILE__ %>
910

1011
static rb_snum_t
1112
sp_inc_of_sendish(const struct rb_call_info *ci)
@@ -33,3 +34,4 @@ sp_inc_of_invokeblock(const struct rb_call_info *ci)
3334
* instructions, except that it does not pop receriver. */
3435
return sp_inc_of_sendish(ci) + 1;
3536
}
37+
#pragma RubyVM reset source

0 commit comments

Comments
 (0)