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

* tool/compile_prelude.rb: use US-ASCII name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-06-30 07:48:52 +00:00
parent d06f74d736
commit fd83230726
2 changed files with 6 additions and 2 deletions

View file

@ -77,8 +77,8 @@ Init_<%=init_name%>(void)
{
% lines_list.each_with_index {|(setup_lines, lines), i|
rb_iseq_eval(rb_iseq_compile(
rb_str_new(prelude_code<%=i%>, sizeof(prelude_code<%=i%>) - 1),
rb_str_new(prelude_name<%=i%>, sizeof(prelude_name<%=i%>) - 1),
rb_usascii_str_new(prelude_code<%=i%>, sizeof(prelude_code<%=i%>) - 1),
rb_usascii_str_new(prelude_name<%=i%>, sizeof(prelude_name<%=i%>) - 1),
INT2FIX(<%=1-setup_lines.length%>)));
% }