From 4b740c23df98b14db014b6efa9a3b776cf4db4b6 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sat, 4 Aug 2018 23:41:17 +1200 Subject: [PATCH] Fix UCASE_ATTR not accepted in CLI --- src/main/c/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/c/main.c b/src/main/c/main.c index 8e71d8a..fa97ab2 100644 --- a/src/main/c/main.c +++ b/src/main/c/main.c @@ -94,6 +94,8 @@ static void _parse_and_add_errors_to_suppress(nh_set_int32_t suppressed_errors, nh_set_int32_add(suppressed_errors, HBE_PARSE_INVALID_ENTITY); } else if (hbu_buffer_compare_lit(part, "NONSTANDARD_TAG") == 0) { nh_set_int32_add(suppressed_errors, HBE_PARSE_NONSTANDARD_TAG); + } else if (hbu_buffer_compare_lit(part, "UCASE_ATTR") == 0) { + nh_set_int32_add(suppressed_errors, HBE_PARSE_UCASE_ATTR); } else if (hbu_buffer_compare_lit(part, "UCASE_TAG") == 0) { nh_set_int32_add(suppressed_errors, HBE_PARSE_UCASE_TAG); } else if (hbu_buffer_compare_lit(part, "UNQUOTED_ATTR") == 0) {