summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-18 02:47:41 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-18 02:47:41 +0000
commit622769060445a2c37c3fbc09cfc6ccbe9cda7f10 ()
treea138bbc7456a24d7831e4d14423399b98529f618 /tool
parente0f059a105029bb447a380b9718ff755ec62faee (diff)
* 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
-rwxr-xr-xtool/enc-unicode.rb8
1 files changed, 4 insertions, 4 deletions
@@ -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'}
]
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)
puts "#define CR_#{prop} CR_#{origprop}"
else
$const_cache[prop] = data