From 8543ecee533a498b152fa7216cb8688b52915f52 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 30 Apr 2009 06:27:51 +0000 Subject: [PATCH] * enc/trans/utf8_mac.trans: get rid of a 1.9 feature for cross compile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ enc/trans/utf8_mac.trans | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ae66ff57c0..fef88ce3dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 30 15:27:49 2009 Nobuyoshi Nakada + + * enc/trans/utf8_mac.trans: get rid of a 1.9 feature for cross + compile. + Thu Apr 30 11:35:30 2009 NARUSE, Yui * encoding.c (rb_filesystem_encoding): Change filesystem_encoding of diff --git a/enc/trans/utf8_mac.trans b/enc/trans/utf8_mac.trans index 76c0a1595f..66500d82ff 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],