mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4220 Simplify adding a new process type, and fix some compiler warnings.
X-SVN-Rev: 17293
This commit is contained in:
parent
611748c972
commit
7014790aec
1 changed files with 3 additions and 0 deletions
|
@ -1582,6 +1582,9 @@ parseResourceType(UErrorCode *status)
|
|||
if (u_strcmp(tokenValue->fChars, k_type_int) == 0) {
|
||||
result = RT_INTEGER;
|
||||
}
|
||||
else if (u_strcmp(tokenValue->fChars, k_type_bin) == 0) {
|
||||
result = RT_BINARY;
|
||||
}
|
||||
else if (result == RT_RESERVED) {
|
||||
char tokenBuffer[1024];
|
||||
u_austrncpy(tokenBuffer, tokenValue->fChars, sizeof(tokenBuffer));
|
||||
|
|
Loading…
Add table
Reference in a new issue