py/repl: Check for an identifier char after the keyword.
- As described in the #1850. - Add cmdline tests.
This commit is contained in:
committed by
Damien George
parent
dfc35afba1
commit
69d9e7d27d
@@ -145,11 +145,9 @@ bool unichar_isxdigit(unichar c) {
|
||||
return c < 128 && (attr[c] & FL_XDIGIT) != 0;
|
||||
}
|
||||
|
||||
/*
|
||||
bool unichar_is_alpha_or_digit(unichar c) {
|
||||
return c < 128 && (attr[c] & (FL_ALPHA | FL_DIGIT)) != 0;
|
||||
bool unichar_isident(unichar c) {
|
||||
return c < 128 && ((attr[c] & (FL_ALPHA | FL_DIGIT)) != 0 || c == '_');
|
||||
}
|
||||
*/
|
||||
|
||||
bool unichar_isupper(unichar c) {
|
||||
return c < 128 && (attr[c] & FL_UPPER) != 0;
|
||||
|
||||
Reference in New Issue
Block a user