combine condition with next

This commit is contained in:
pndaza 2018-11-24 09:21:05 +06:30
parent 5c85d8e03d
commit fc8a3d5bbc

View File

@ -135,8 +135,7 @@ bool ValidateMyanmar::ConsumeOptionalSignsIfPresent() {
/* static */ /* static */
bool ValidateMyanmar::IsMyanmarLetter(char32 ch) { bool ValidateMyanmar::IsMyanmarLetter(char32 ch) {
return (0x1000 <= ch && ch <= 0x102a) || ch == 0x103f || return (0x1000 <= ch && ch <= 0x102a) || ch == 0x103f ||
(0x104c <= ch && ch <= 0x104f) || (0x104c <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) ||
(0x1050 <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) ||
ch == 0x1061 || ch == 0x1065 || ch == 0x1066 || ch == 0x1061 || ch == 0x1065 || ch == 0x1066 ||
(0x106e <= ch && ch <= 0x1070) || (0x1075 <= ch && ch <= 0x1080) || (0x106e <= ch && ch <= 0x1070) || (0x1075 <= ch && ch <= 0x1080) ||
ch == 0x108e || (0xa9e0 <= ch && ch <= 0xa9ef) || ch == 0x108e || (0xa9e0 <= ch && ch <= 0xa9ef) ||