mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
7eb5775f4e
commit
e824e21beb
2 changed files with 0 additions and 30 deletions
|
@ -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
|
||||
|
|
|
@ -5718,10 +5718,6 @@ add_property_to_cc(CClassNode* cc, const char* propname, int not, ScanEnv* env)
|
|||
return add_ctype_to_cc(cc, ctype, not, 0, env);
|
||||
}
|
||||
|
||||
extern const OnigCodePoint onigenc_unicode_GCB_ranges_GAZ[];
|
||||
extern const OnigCodePoint onigenc_unicode_GCB_ranges_E_Base[];
|
||||
extern const OnigCodePoint onigenc_unicode_GCB_ranges_Emoji[];
|
||||
|
||||
/*
|
||||
* helper methods for node_extended_grapheme_cluster (/\X/)
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue