зеркало из https://github.com/github/ruby.git
* enc/unicode.c: Removed code now covered by data from table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
663fb4dd44
Коммит
1582093c77
|
@ -1,3 +1,7 @@
|
|||
Mon Mar 28 14:26:24 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* enc/unicode.c: Removed code now covered by data from table.
|
||||
|
||||
Mon Mar 28 11:49:21 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* enc/unicode.c: Adding comments. [ci skip]
|
||||
|
|
|
@ -704,12 +704,6 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP,
|
|||
}
|
||||
}
|
||||
}
|
||||
/* the following special case for DOTLESS i -> I
|
||||
* can be removed once we rely on data,
|
||||
* because the mapping is always the same */
|
||||
else if (code==DOTLESS_i && (flags&ONIGENC_CASE_UPCASE)) {
|
||||
code = 'I'; MODIFIED;
|
||||
}
|
||||
else if ((folded = onigenc_unicode_fold_lookup(code)) != 0) { /* data about character found in CaseFold_11_Table */
|
||||
if (flags&OnigCaseFoldFlags(folded->n)) {
|
||||
const OnigCodePoint *next;
|
||||
|
|
Загрузка…
Ссылка в новой задаче