mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
unicode: Renamed unicodeAlpha to unicodeLatinAlpha
This commit is contained in:
parent
26e69225b4
commit
8db7077e12
4 changed files with 10 additions and 10 deletions
|
@ -241,7 +241,7 @@ bool Lexer::isBoundary (int left, int right)
|
|||
if (right == '\0') return true;
|
||||
|
||||
// XOR
|
||||
if (unicodeAlpha (left) != unicodeAlpha (right)) return true;
|
||||
if (unicodeLatinAlpha (left) != unicodeLatinAlpha (right)) return true;
|
||||
if (isDigit (left) != isDigit (right)) return true;
|
||||
if (unicodeWhitespace (left) != unicodeWhitespace (right)) return true;
|
||||
|
||||
|
@ -278,7 +278,7 @@ bool Lexer::isPunctuation (int c)
|
|||
c != '$' &&
|
||||
c != '_' &&
|
||||
! isDigit (c) &&
|
||||
! unicodeAlpha (c);
|
||||
! unicodeLatinAlpha (c);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue