Skip to content

Commit

Permalink
* enc/trans/make_transdb.rb: *.erb.c is not used anymore.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Aug 12, 2008
1 parent 6d87cec commit 79cd32f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Tue Aug 12 18:43:10 2008 Tanaka Akira <[email protected]>

* enc/trans/make_transdb.rb: *.erb.c is not used anymore.

Tue Aug 12 18:32:33 2008 Tanaka Akira <[email protected]>

* transcode_data.h (rb_trans_elem_t): new field: from and to.
Expand Down
2 changes: 1 addition & 1 deletion enc/trans/make_transdb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
files = {}
transdirs.each do |transdir|
next unless File.directory?(transdir)
Dir.open(transdir) {|d| d.grep(/.+\.[ch]\z/).reject {|n| /\.erb\.c\z/ =~ n }}.sort_by {|e|
Dir.open(transdir) {|d| d.grep(/.+\.[ch]\z/) }.sort_by {|e|
e.scan(/(\d+)|(\D+)/).map {|n,a| a||[n.size,n.to_i]}.flatten
}.each do |fn|
next if files[fn]
Expand Down

0 comments on commit 79cd32f

Please sign in to comment.