mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
prelude.c.tmpl: fix line number
* template/prelude.c.tmpl (Init_prelude): fix line number of preludes. line of prelude_eval is an int, not a VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3af095f84c
commit
9fbd48ee71
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ Init_<%=@init_name%><%=%>(void)
|
|||
prelude_eval(
|
||||
rb_usascii_str_new(prelude_code<%=i%><%=%>.L0, sizeof(prelude_code<%=i%><%=%>)),
|
||||
rb_usascii_str_new(prelude_name<%=i%><%=%>, sizeof(prelude_name<%=i%><%=%>) - 1),
|
||||
INT2FIX(1));
|
||||
1);
|
||||
% end
|
||||
% if @have_sublib
|
||||
rb_gc_force_recycle(prelude);
|
||||
|
|
Loading…
Reference in a new issue