diff --git a/ChangeLog b/ChangeLog index 6db80fb7d0..6bc7865be9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 10 23:00:43 2008 Yusuke Endoh + + * tool/compile_prelude.rb: print "" instead of + "prelude.rb" on stack trace. [ruby-dev:36129] + Wed Sep 10 21:09:32 2008 Masaki Suketa * test/win32ole/test_err_in_callback.rb: InternetExplorer should diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb index 70197aebf3..72cf961bd8 100644 --- a/tool/compile_prelude.rb +++ b/tool/compile_prelude.rb @@ -64,7 +64,7 @@ tmp = ERB.new(<<'EOS', nil, '%').result(binding) #include "vm_core.h" % preludes.zip(lines_list).each_with_index {|(prelude, (setup_lines, lines)), i| -static const char prelude_name<%=i%>[] = <%=c_esc(File.basename(prelude))%>; +static const char prelude_name<%=i%>[] = <%=c_esc("")%>; static const char prelude_code<%=i%>[] = % (setup_lines+lines).each {|line| <%=line%>