mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
663fb4dd44
commit
1582093c77
2 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue