mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
657e13262b
commit
a06fc80da6
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
"\\" => "\\\\",
|
||||
|
|
Loading…
Reference in a new issue