mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 13:50:28 +01:00
[ion/unicode] Split isDigit into isDecimalDigit, isBinaryDigit, isHexadecimalDigit
This commit is contained in:
committed by
Léa Saviot
parent
d48a882f04
commit
575b911da9
@@ -57,7 +57,7 @@ bool Script::nameCompliant(const char * name) {
|
||||
if (c == '.' && strcmp(decoder.stringPosition(), ScriptStore::k_scriptExtension) == 0) {
|
||||
return true;
|
||||
}
|
||||
if (!(c.isLowerCaseLetter() || c == '_' || c.isDigit())) {
|
||||
if (!(c.isLowerCaseLetter() || c == '_' || c.isDecimalDigit())) {
|
||||
return false;
|
||||
}
|
||||
c = decoder.nextCodePoint();
|
||||
|
||||
Reference in New Issue
Block a user