* 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:
parent
d06f74d736
commit
fd83230726
@ -1,3 +1,7 @@
|
||||
Tue Jun 30 16:48:49 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* tool/compile_prelude.rb: use US-ASCII name.
|
||||
|
||||
Tue Jun 30 16:46:40 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* insns.def, tool/instruction.rb: fixed types.
|
||||
|
@ -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%>)));
|
||||
|
||||
% }
|
||||
|
Loading…
x
Reference in New Issue
Block a user