return bcpType;
}
-#define ISALPHANUM(c) (uprv_isASCIILetter(c) || ((c) >= '0') && ((c) <= '9'))
+#define UPRV_ISDIGIT(c) (((c) >= '0') && ((c) <= '9'))
+#define UPRV_ISALPHANUM(c) (uprv_isASCIILetter(c) || UPRV_ISDIGIT(c) )
static UBool
isWellFormedLegacyKey(const char* legacyKey)
{
const char* p = legacyKey;
while (*p) {
- if (!ISALPHANUM(*p)) {
+ if (!UPRV_ISALPHANUM(*p)) {
return FALSE;
}
p++;
return FALSE;
}
alphaNumLen = 0;
- } else if (ISALPHANUM(*p)) {
+ } else if (UPRV_ISALPHANUM(*p)) {
alphaNumLen++;
} else {
return FALSE;