mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
iso_8859.h: SHARP_s
* enc/iso_8859.h (SHARP_s): name frequently used codepoint. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9fa8b80550
commit
2d2b6460f4
17 changed files with 61 additions and 28 deletions
|
@ -28,6 +28,7 @@
|
|||
*/
|
||||
|
||||
#include "regenc.h"
|
||||
#include "iso_8859.h"
|
||||
|
||||
static int
|
||||
utf32le_mbc_enc_len(const UChar* p ARG_UNUSED, const OnigUChar* e ARG_UNUSED,
|
||||
|
@ -126,7 +127,7 @@ utf32le_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* e
|
|||
if (*(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) {
|
||||
int c, v;
|
||||
|
||||
if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
|
||||
if (*p == SHARP_s && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue