From a06fc80da67570a53c4790f7d7e053222aeef2a5 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 6 Apr 2008 01:22:21 +0000 Subject: [PATCH] * tool/compile_prelude.rb: allows extra suffix after .c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/compile_prelude.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/compile_prelude.rb b/tool/compile_prelude.rb index 04ecdf4444..70197aebf3 100644 --- a/tool/compile_prelude.rb +++ b/tool/compile_prelude.rb @@ -8,7 +8,7 @@ $:.unshift(File.expand_path("../..", __FILE__)) preludes = ARGV.dup outfile = preludes.pop -init_name = outfile[/\w+(?=_prelude.c\z)/] || 'prelude' +init_name = outfile[/\w+(?=_prelude.c\b)/] || 'prelude' C_ESC = { "\\" => "\\\\",