From 2b035629bdd70c12e5eae403e8be28b59c439063 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 15 Jan 2015 09:03:44 -0800 Subject: [PATCH] client: always show unparsed tags in config files --- client/app_config.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/app_config.cpp b/client/app_config.cpp index 2b93820e0b..83b3df2787 100644 --- a/client/app_config.cpp +++ b/client/app_config.cpp @@ -166,12 +166,11 @@ int APP_CONFIGS::parse(XML_PARSER& xp, PROJECT* p) { } continue; } - if (log_flags.unparsed_xml) { - msg_printf(p, MSG_INFO, - "Unparsed line in app_config.xml: %s", - xp.parsed_tag - ); - } + msg_printf_notice(p, false, NULL, + "Unknown tag in app_config.xml: %s", + xp.parsed_tag + ); + xp.skip_unexpected(log_flags.unparsed_xml, "APP_CONFIGS::parse"); } msg_printf_notice(p, false, NULL, @@ -247,7 +246,8 @@ int APP_CONFIGS::config_app_versions(PROJECT* p, bool show_warnings) { } if (!found) { msg_printf(p, MSG_USER_ALERT, - "Entry in app_config.xml for app '%s', plan class '%s' doesn't match any app versions", avc.app_name, avc.plan_class + "Entry in app_config.xml for app '%s', plan class '%s' doesn't match any app versions", + avc.app_name, avc.plan_class ); } }