diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-24 07:33:15 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-24 07:33:15 +0000 |
commit | a8b5c9cc013b1009d8fd5367025c519db7f31fce (patch) | |
tree | b64cb46fa0d9dad2f4f3aa3e4dd3136139243bd5 /enc/unicode.c | |
parent | 4066f7d305f1c88c7fc189fe1d50eed268cd9801 (diff) | |
download | ruby-a8b5c9cc013b1009d8fd5367025c519db7f31fce.tar.gz |
* regenc.h/c, include/ruby/oniguruma.h, enc/ascii.c, big5.c, cp949.c,
emacs_mule.c, euc_jp.c, euc_kr.c, euc_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.c, koi8_u.c,
shift_jis.c, unicode.c, us_ascii.c, utf_16|32be|le.c, utf_8.c,
windows_1250|51|52|53|54|57.c, windows_31j.c, unicode.c:
Remove conditional compilation macro ONIG_CASE_MAPPING. [Feature #12386].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/unicode.c')
-rw-r--r-- | enc/unicode.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/enc/unicode.c b/enc/unicode.c index ab91bca829..e72b2e64b2 100644 --- a/enc/unicode.c +++ b/enc/unicode.c @@ -137,7 +137,6 @@ code3_equal(const OnigCodePoint *x, const OnigCodePoint *y) return 1; } -#ifdef ONIG_CASE_MAPPING /* macros related to ONIGENC_CASE flags */ /* defined here because not used in other files */ #define ONIGENC_CASE_SPECIALS (ONIGENC_CASE_TITLECASE|ONIGENC_CASE_IS_TITLECASE|ONIGENC_CASE_UP_SPECIAL|ONIGENC_CASE_DOWN_SPECIAL) @@ -162,11 +161,9 @@ code3_equal(const OnigCodePoint *x, const OnigCodePoint *y) #define IT ONIGENC_CASE_IS_TITLECASE #define I(n) OnigSpecialIndexEncode(n) #define L(n) SpecialsLengthEncode(n) -#endif /* ONIG_CASE_MAPPING */ #include "casefold.h" -#ifdef ONIG_CASE_MAPPING #undef U #undef D #undef F @@ -176,7 +173,6 @@ code3_equal(const OnigCodePoint *x, const OnigCodePoint *y) #undef IT #undef I #undef L -#endif /* ONIG_CASE_MAPPING */ #include "name2ctype.h" @@ -655,8 +651,6 @@ onigenc_unicode_get_case_fold_codes_by_str(OnigEncoding enc, return n; } -#ifdef ONIG_CASE_MAPPING - /* length in bytes for three characters in UTF-32; e.g. needed for ffi (U+FB03) */ #define CASE_MAPPING_SLACK 12 #define MODIFIED (flags |= ONIGENC_CASE_MODIFIED) @@ -799,8 +793,6 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP, return (int)(to-to_start); } -#endif /* ONIG_CASE_MAPPING */ - #if 0 const char onigenc_unicode_version_string[] = #ifdef ONIG_UNICODE_VERSION_STRING |