Skip to content

Commit

Permalink
combine condition with next
Browse files Browse the repository at this point in the history
  • Loading branch information
pndaza committed Nov 24, 2018
1 parent 5c85d8e commit fc8a3d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/training/validate_myanmar.cpp
Expand Up @@ -135,8 +135,7 @@ bool ValidateMyanmar::ConsumeOptionalSignsIfPresent() {
/* static */
bool ValidateMyanmar::IsMyanmarLetter(char32 ch) {
return (0x1000 <= ch && ch <= 0x102a) || ch == 0x103f ||
(0x104c <= ch && ch <= 0x104f) ||
(0x1050 <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) ||
(0x104c <= ch && ch <= 0x1055) || (0x105a <= ch && ch <= 0x105d) ||
ch == 0x1061 || ch == 0x1065 || ch == 0x1066 ||
(0x106e <= ch && ch <= 0x1070) || (0x1075 <= ch && ch <= 0x1080) ||
ch == 0x108e || (0xa9e0 <= ch && ch <= 0xa9ef) ||
Expand Down

0 comments on commit fc8a3d5

Please sign in to comment.