summaryrefslogtreecommitdiffstats
path: root/enc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 06:27:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 06:27:51 +0000
commitc6007a7d8295838e68fd4c83f999130e55d3440b (patch)
treeb3d19132c80b838535cd5126b5a69c4f8546b1ce /enc
parent01c318cd8396bf0ab03bacfe94a7fc4109120f56 (diff)
downloadruby-c6007a7d8295838e68fd4c83f999130e55d3440b.tar.gz
ruby-c6007a7d8295838e68fd4c83f999130e55d3440b.tar.xz
ruby-c6007a7d8295838e68fd4c83f999130e55d3440b.zip
* enc/trans/utf8_mac.trans: get rid of a 1.9 feature for cross
compile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r--enc/trans/utf8_mac.trans4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/trans/utf8_mac.trans b/enc/trans/utf8_mac.trans
index 76c0a1595..66500d82f 100644
--- a/enc/trans/utf8_mac.trans
+++ b/enc/trans/utf8_mac.trans
@@ -7,8 +7,8 @@
str.unpack("H*")[0]
end
- transcode_tblgen("UTF-8", "UTF8-MAC", [
- *MAC_DECOMPOSE_TBL.map{|k,v|[hexstr(k), hexstr(v)]},
+ transcode_tblgen("UTF-8", "UTF8-MAC",
+ MAC_DECOMPOSE_TBL.map{|k,v|[hexstr(k), hexstr(v)]} + [
["{00-7F}", :nomap],
["{c2-df}{80-bf}", :asis],
["e0{a0-bf}{80-bf}", :asis],