Commit 1d8dbeff authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent ada97dc2
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment