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.
This commit is contained in:
Rob Shearman 2009-01-07 11:43:47 +00:00 committed by Alexandre Julliard
parent ada97dc209
commit 1d8dbeff9a
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}