summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-08 12:41:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-08 12:41:05 +0000
commit711670d251581a06b7391866ec9ae19d0523f729 (patch)
tree41e34ef0a04b01d6d0d26ca0a71e91aed4c7bd6a /tool
parentce25b69903d8b2eef85652439c899535df78e2e0 (diff)
downloadruby-711670d251581a06b7391866ec9ae19d0523f729.tar.gz
ruby-711670d251581a06b7391866ec9ae19d0523f729.tar.xz
ruby-711670d251581a06b7391866ec9ae19d0523f729.zip
* tool/compile_prelude.rb: reverted.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/compile_prelude.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb
index 66f9de221..17b00f955 100755
--- a/tool/compile_prelude.rb
+++ b/tool/compile_prelude.rb
@@ -100,7 +100,7 @@ void
Init_<%=init_name%>(void)
{
% lines_list.each_with_index {|(setup_lines, lines), i|
- rb_iseq_eval_main(rb_iseq_compile(
+ rb_iseq_eval(rb_iseq_compile(
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%>)));