From 1d8dbeff9a1ee63b3e6aad038b9fc3cb8d423276 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Wed, 7 Jan 2009 11:43:47 +0000 Subject: [PATCH] widl: Make the case of messages output by warning and error functions consistent. Standardise on lower case "warning" and "error", since they match the case of what gcc prints. --- tools/widl/utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/widl/utils.c b/tools/widl/utils.c index 2e05addeb7a..65477742acf 100644 --- a/tools/widl/utils.c +++ b/tools/widl/utils.c @@ -71,7 +71,7 @@ void error_loc(const char *s, ...) loc_info_t cur_loc = CURRENT_LOCATION; va_list ap; va_start(ap, s); - generic_msg(&cur_loc, s, "Error", ap); + generic_msg(&cur_loc, s, "error", ap); va_end(ap); exit(1); } @@ -86,7 +86,7 @@ void error_loc_info(const loc_info_t *loc_info, const char *s, ...) { va_list ap; va_start(ap, s); - generic_msg(loc_info, s, "Error", ap); + generic_msg(loc_info, s, "error", ap); va_end(ap); exit(1); } @@ -96,7 +96,7 @@ int parser_warning(const char *s, ...) loc_info_t cur_loc = CURRENT_LOCATION; va_list ap; va_start(ap, s); - generic_msg(&cur_loc, s, "Warning", ap); + generic_msg(&cur_loc, s, "warning", ap); va_end(ap); return 0; } @@ -124,7 +124,7 @@ void warning_loc_info(const loc_info_t *loc_info, const char *s, ...) { va_list ap; va_start(ap, s); - generic_msg(loc_info, s, "Warning", ap); + generic_msg(loc_info, s, "warning", ap); va_end(ap); } -- 2.11.4.GIT