feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
10
engine/thirdparty/icu4c/common/patternprops.cpp
vendored
10
engine/thirdparty/icu4c/common/patternprops.cpp
vendored
|
|
@ -120,12 +120,12 @@ PatternProps::isSyntax(UChar32 c) {
|
|||
if(c<0) {
|
||||
return false;
|
||||
} else if(c<=0xff) {
|
||||
return (UBool)(latin1[c]>>1)&1;
|
||||
return (latin1[c] >> 1) & 1;
|
||||
} else if(c<0x2010) {
|
||||
return false;
|
||||
} else if(c<=0x3030) {
|
||||
uint32_t bits=syntax2000[index2000[(c-0x2000)>>5]];
|
||||
return (UBool)((bits>>(c&0x1f))&1);
|
||||
return (bits >> (c & 0x1f)) & 1;
|
||||
} else if(0xfd3e<=c && c<=0xfe46) {
|
||||
return c<=0xfd3f || 0xfe45<=c;
|
||||
} else {
|
||||
|
|
@ -138,12 +138,12 @@ PatternProps::isSyntaxOrWhiteSpace(UChar32 c) {
|
|||
if(c<0) {
|
||||
return false;
|
||||
} else if(c<=0xff) {
|
||||
return (UBool)(latin1[c]&1);
|
||||
return latin1[c] & 1;
|
||||
} else if(c<0x200e) {
|
||||
return false;
|
||||
} else if(c<=0x3030) {
|
||||
uint32_t bits=syntaxOrWhiteSpace2000[index2000[(c-0x2000)>>5]];
|
||||
return (UBool)((bits>>(c&0x1f))&1);
|
||||
return (bits >> (c & 0x1f)) & 1;
|
||||
} else if(0xfd3e<=c && c<=0xfe46) {
|
||||
return c<=0xfd3f || 0xfe45<=c;
|
||||
} else {
|
||||
|
|
@ -156,7 +156,7 @@ PatternProps::isWhiteSpace(UChar32 c) {
|
|||
if(c<0) {
|
||||
return false;
|
||||
} else if(c<=0xff) {
|
||||
return (UBool)(latin1[c]>>2)&1;
|
||||
return (latin1[c] >> 2) & 1;
|
||||
} else if(0x200e<=c && c<=0x2029) {
|
||||
return c<=0x200f || 0x2028<=c;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue