diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-22 05:57:44 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-22 05:57:44 +0000 |
commit | 78c5ca70744e85f8468147ddc362962bcd987d30 (patch) | |
tree | cce4bc22fc3939b367aef46a45a485ac2ff3f5a3 /enc/big5.c | |
parent | 14b524b6b01bde70f207a049bd78899eb88823b8 (diff) | |
download | bundler-78c5ca70744e85f8468147ddc362962bcd987d30.tar.gz |
* include/ruby/oniguruma.h: Extend OnigEncodingTypeDefine to define a
new encoding primitive 'case_map' for case mapping
* enc/utf-8.c, utf_16be/le.c, utf_32be/le.c:
add onigenc_unicode_case_map as case_map primitive
* enc/ascii.c, big5.c, cp949.c, emacs_mule.c, euc_jp/kr/tw.c, gb18030.c,
gbk.c, iso_8859_1/2/3/4/5/6/7/8/9/10/11/13/14/15/16.c, koi8_r/u.c,
shift_jis.c, us_ascii.c, windows_1250/1251/1252.c:
add onigenc_not_support_case_map as case_map primitive
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/big5.c')
-rw-r--r-- | enc/big5.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/enc/big5.c b/enc/big5.c index 27315c4ba9..7c6c2d359f 100644 --- a/enc/big5.c +++ b/enc/big5.c @@ -302,6 +302,9 @@ OnigEncodingDefine(big5, BIG5) = { big5_is_allowed_reverse_match, 0, ONIGENC_FLAG_NONE, +#ifdef ONIG_CASE_MAPPING + onigenc_not_support_case_map, +#endif /* ONIG_CASE_MAPPING */ }; /* @@ -336,6 +339,9 @@ OnigEncodingDefine(big5_hkscs, BIG5_HKSCS) = { big5_is_allowed_reverse_match, 0, ONIGENC_FLAG_NONE, +#ifdef ONIG_CASE_MAPPING + onigenc_not_support_case_map, +#endif /* ONIG_CASE_MAPPING */ }; ENC_ALIAS("Big5-HKSCS:2008", "Big5-HKSCS") @@ -370,4 +376,7 @@ OnigEncodingDefine(big5_uao, BIG5_UAO) = { big5_is_allowed_reverse_match, 0, ONIGENC_FLAG_NONE, +#ifdef ONIG_CASE_MAPPING + onigenc_not_support_case_map, +#endif /* ONIG_CASE_MAPPING */ }; |