mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
constify CaseMappingSpecials
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
48beedd5db
commit
4f7c3d3583
3 changed files with 3 additions and 3 deletions
|
@ -725,7 +725,7 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP,
|
|||
|
||||
MODIFIED;
|
||||
if (flags&OnigCaseFoldFlags(folded->n)&ONIGENC_CASE_SPECIALS) { /* special */
|
||||
OnigCodePoint *SpecialsStart = CaseMappingSpecials + OnigSpecialIndexDecode(folded->n);
|
||||
const OnigCodePoint *SpecialsStart = CaseMappingSpecials + OnigSpecialIndexDecode(folded->n);
|
||||
|
||||
if (OnigCaseFoldFlags(folded->n)&ONIGENC_CASE_IS_TITLECASE) { /* swapCASE available */
|
||||
if ((flags&(ONIGENC_CASE_UPCASE|ONIGENC_CASE_DOWNCASE))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue