[apps/shared/function] Fix typo

introduced in
[ion/unicode/codepoint] Rename is[(Lower|Upper)Case]Letter to isLatin[(Small|Capital)]Letter
This commit is contained in:
Ruben Dashyan
2020-02-06 17:59:42 +01:00
committed by Léa Saviot
parent 9526d1d591
commit 473d12f165

View File

@@ -27,7 +27,7 @@ bool Function::BaseNameCompliant(const char * baseName, NameNotCompliantError *
while (c != UCodePointNull) {
// FIXME '_' should be accepted but not as first character
// TODO Factor this piece of code with similar one in the Parser
if (!(c.isDecimalDigit()) || c.isLatinLetter() || c == '_') {
if (!(c.isDecimalDigit() || c.isLatinLetter()) || c == '_') {
if (error != nullptr) {
*error = NameNotCompliantError::CharacterNotAllowed;
}