1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
shyouhei 2018-12-26 07:23:35 +00:00
parent 2914522ffc
commit 9edb32dae7
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,7 @@
%# conditions mentioned in the file COPYING are met. Consult the file for
%# details.
%;
#line <%= __LINE__ + 1 %> <%=cstr __FILE__ %>
static bool
leafness_of_getglobal(VALUE gentry)
@ -103,3 +104,4 @@ leafness_of_checkmatch(rb_num_t flag)
return false;
}
}
#pragma RubyVM reset source

View file

@ -6,6 +6,7 @@
%# conditions mentioned in the file COPYING are met. Consult the file for
%# details.
%;
#line <%= __LINE__ + 1 %> <%=cstr __FILE__ %>
static rb_snum_t
sp_inc_of_sendish(const struct rb_call_info *ci)
@ -33,3 +34,4 @@ sp_inc_of_invokeblock(const struct rb_call_info *ci)
* instructions, except that it does not pop receriver. */
return sp_inc_of_sendish(ci) + 1;
}
#pragma RubyVM reset source