diff --git a/ChangeLog b/ChangeLog index ba8db46ff8..5589afb961 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Aug 25 08:47:28 2007 Koichi Sasada + + * tool/compile_prelude.rb: fix to include "vm_core.h". + Sat Aug 25 03:49:14 2007 Tanaka Akira * test/ruby/sentence.rb (Sentence): include Enumerable. diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb index 13ccb8aced..cdf6861794 100644 --- a/tool/compile_prelude.rb +++ b/tool/compile_prelude.rb @@ -2,14 +2,16 @@ prelude, outfile = *ARGV lines = [] -File.readlines(prelude).each{|line| - lines << "#{line.dump}" +lines = File.readlines(prelude).map{|line| + line.dump } open(outfile, 'w'){|f| f.puts <