aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-16 05:14:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-16 05:14:59 +0000
commit23755d5242240a6cc4a4d3f0af22c6e32f8f19bc (patch)
tree50a18b5fffb6ca9406b849d68cacb8c534e455e8
parent4d0396ec962c2271385745b48e802be272b56575 (diff)
downloadruby-23755d5242240a6cc4a4d3f0af22c6e32f8f19bc.tar.gz
Removed data for old Unicode [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--enc/unicode.c30
1 files changed, 2 insertions, 28 deletions
diff --git a/enc/unicode.c b/enc/unicode.c
index c44451f7b4..0d692520e8 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -786,45 +786,19 @@ SpecialsCopy:
return (int )(to - to_start);
}
+/* for extended grapheme cluster */
+/* TODO: generate from Unicode data */
const OnigCodePoint
onigenc_unicode_GCB_ranges_GAZ[] = {
-#if ONIG_UNICODE_VERSION_MAJOR < 10
- 13,
- 0x1F308, 0x1F308,
- 0x1F33E, 0x1F33E,
- 0x1F373, 0x1F373,
- 0x1F393, 0x1F393,
- 0x1F3A4, 0x1F3A4,
- 0x1F3A8, 0x1F3A8,
- 0x1F3EB, 0x1F3EB,
- 0x1F3ED, 0x1F3ED,
- 0x1F4BB, 0x1F4BC,
- 0x1F527, 0x1F527,
- 0x1F52C, 0x1F52C,
- 0x1F680, 0x1F680,
- 0x1F692, 0x1F692,
-#else
0,
-#endif
};
const OnigCodePoint
onigenc_unicode_GCB_ranges_E_Base[] = {
-#if ONIG_UNICODE_VERSION_MAJOR < 10
- 8,
- 0x1F3C2, 0x1F3C2,
- 0x1F3C7, 0x1F3C7,
- 0x1F3CC, 0x1F3CC,
-#else
3,
-#endif
0x1F3F3, 0x1F3F3,
0x1F441, 0x1F441,
0x1F46F, 0x1F46F,
-#if ONIG_UNICODE_VERSION_MAJOR < 10
- 0x1F574, 0x1F574,
- 0x1F6CC, 0x1F6CC,
-#endif
};
const OnigCodePoint