aboutsummaryrefslogtreecommitdiffstats
path: root/enc
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-06 00:05:08 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-06 00:05:08 +0000
commite824e21beb4135f76a6e0f1e51ad578b53d53847 (patch)
treec0fb8f23bc69187bbc2980ff84c7f940e6671383 /enc
parent7eb5775f4e04c22bdeddc0113be10a419999ca02 (diff)
downloadruby-e824e21beb4135f76a6e0f1e51ad578b53d53847.tar.gz
remove obsolete data from unicode.c
* unicode.c: Remove the arrays onigenc_unicode_GCB_ranges_GAZ, onigenc_unicode_GCB_ranges_E_Base, and onigenc_unicode_GCB_ranges_Emoji, because they are not needed anymore for Unicode 11.0.0. * regparse.c: Remove external declarations for above arrays. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r--enc/unicode.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/enc/unicode.c b/enc/unicode.c
index 9e46689655..b3dbd55d32 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -793,32 +793,6 @@ SpecialsCopy:
return (int )(to - to_start);
}
-/* These GAZ/E_Base/Emoji tables are for extended grapheme cluster */
-/* TODO: generate these 3 tables from Unicode data */
-const OnigCodePoint
-onigenc_unicode_GCB_ranges_GAZ[] = {
- 0,
-};
-
-const OnigCodePoint
-onigenc_unicode_GCB_ranges_E_Base[] = {
- 5,
- 0x1F3F3, 0x1F3F3, /* WAVING WHITE FLAG */
- 0x1F441, 0x1F441, /* EYE */
- 0x1F46F, 0x1F46F, /* WOMAN WITH BUNNY EARS */
- 0x1F93C, 0x1F93C, /* WRESTLERS */
- 0x1F9DE, 0x1F9DF, /* GENIE, ZOMBIE */
-};
-
-const OnigCodePoint
-onigenc_unicode_GCB_ranges_Emoji[] = {
- 4,
- 0x2640, 0x2640, /* FEMALE SIGN */
- 0x2642, 0x2642, /* MALE SIGN */
- 0x2695, 0x2696, /* SCALES */
- 0x2708, 0x2708, /* AIRPLANE */
-};
-
#if 0
const char onigenc_unicode_version_string[] =
#ifdef ONIG_UNICODE_VERSION_STRING