add utf8 support
This commit is contained in:
parent
806c519c91
commit
74c840b524
|
@ -129,7 +129,8 @@ namespace exprtk
|
||||||
inline bool is_letter(const char_t c)
|
inline bool is_letter(const char_t c)
|
||||||
{
|
{
|
||||||
return (('a' <= c) && (c <= 'z')) ||
|
return (('a' <= c) && (c <= 'z')) ||
|
||||||
(('A' <= c) && (c <= 'Z')) ;
|
(('A' <= c) && (c <= 'Z')) ||
|
||||||
|
((c < 0) || (127 < c)) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool is_digit(const char_t c)
|
inline bool is_digit(const char_t c)
|
||||||
|
|
Loading…
Reference in New Issue