mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/enc-unicode.rb: don't use 1.9 feature on tools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0f059a105
commit
6227690604
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Feb 18 07:52:45 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* tool/enc-unicode.rb: don't use 1.9 feature on tools.
|
||||
|
||||
Sat Feb 18 02:48:39 2012 Aaron Patterson <aaron@tenderlovemaking.com>
|
||||
|
||||
* lib/fileutils.rb: refactored FileUtil methods to use the
|
||||
|
|
|
@ -125,9 +125,9 @@ end
|
|||
|
||||
def parse_scripts(data, categories)
|
||||
files = [
|
||||
{fn: 'DerivedCoreProperties.txt', title: 'Derived Property'},
|
||||
{fn: 'Scripts.txt', title: 'Script'},
|
||||
{fn: 'PropList.txt', title: 'Binary Property'}
|
||||
{:fn => 'DerivedCoreProperties.txt', :title => 'Derived Property'},
|
||||
{:fn => 'Scripts.txt', :title => 'Script'},
|
||||
{:fn => 'PropList.txt', :title => 'Binary Property'}
|
||||
]
|
||||
current = nil
|
||||
cps = []
|
||||
|
@ -231,7 +231,7 @@ $const_cache = {}
|
|||
# the group
|
||||
def make_const(prop, data, name)
|
||||
puts "\n/* '#{prop}': #{name} */"
|
||||
if origprop = $const_cache.key(data)
|
||||
if origprop = $const_cache.index(data)
|
||||
puts "#define CR_#{prop} CR_#{origprop}"
|
||||
else
|
||||
$const_cache[prop] = data
|
||||
|
|
Loading…
Reference in a new issue