ICU-7402 fix missing error codes ( now tested by ICU-7401 )

X-SVN-Rev: 27459
This commit is contained in:
Steven R. Loomis 2010-01-30 07:01:53 +00:00
parent a739bdd8e5
commit ad51e858d4
2 changed files with 5 additions and 2 deletions

View File

@ -736,7 +736,7 @@ typedef enum UErrorCode {
U_UNSUPPORTED_ATTRIBUTE, /**< UNUSED as of ICU 2.4 */ U_UNSUPPORTED_ATTRIBUTE, /**< UNUSED as of ICU 2.4 */
U_ARGUMENT_TYPE_MISMATCH, /**< Argument name and argument index mismatch in MessageFormat functions */ U_ARGUMENT_TYPE_MISMATCH, /**< Argument name and argument index mismatch in MessageFormat functions */
U_DUPLICATE_KEYWORD, /**< Duplicate keyword in PluralFormat */ U_DUPLICATE_KEYWORD, /**< Duplicate keyword in PluralFormat */
U_UNDEFINED_KEYWORD, /**< Undefined Pluarl keyword */ U_UNDEFINED_KEYWORD, /**< Undefined Plural keyword */
U_DEFAULT_KEYWORD_MISSING, /**< Missing DEFAULT rule in plural rules */ U_DEFAULT_KEYWORD_MISSING, /**< Missing DEFAULT rule in plural rules */
U_FMT_PARSE_ERROR_LIMIT, /**< The limit for format library errors */ U_FMT_PARSE_ERROR_LIMIT, /**< The limit for format library errors */

View File

@ -118,7 +118,10 @@ _uFmtErrorName[U_FMT_PARSE_ERROR_LIMIT - U_FMT_PARSE_ERROR_START] = {
"U_UNMATCHED_BRACES", "U_UNMATCHED_BRACES",
"U_UNSUPPORTED_PROPERTY", "U_UNSUPPORTED_PROPERTY",
"U_UNSUPPORTED_ATTRIBUTE", "U_UNSUPPORTED_ATTRIBUTE",
"U_ARGUMENT_TYPE_MISMATCH" "U_ARGUMENT_TYPE_MISMATCH",
"U_DUPLICATE_KEYWORD",
"U_UNDEFINED_KEYWORD",
"U_DEFAULT_KEYWORD_MISSING"
}; };
static const char * const static const char * const