summaryrefslogtreecommitdiff
path: root/tool/enc-unicode.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/enc-unicode.rb')
-rwxr-xr-xtool/enc-unicode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb
index bce5789cb7..7584f6e030 100755
--- a/tool/enc-unicode.rb
+++ b/tool/enc-unicode.rb
@@ -231,7 +231,7 @@ $const_cache = {}
# the group
def make_const(prop, data, name)
puts "\n/* '#{prop}': #{name} */"
- if origprop = $const_cache.index(data)
+ if origprop = $const_cache.index(data) # don't use Hash#key because it is 1.9 feature
puts "#define CR_#{prop} CR_#{origprop}"
else
$const_cache[prop] = data