Skip to content

Commit

Permalink
preprocessor: Capitalize first word of two error messages
Browse files Browse the repository at this point in the history
Like all WML preprocessor diagnostics, these aren't translatable
strings, so this is a valid candidate for 1.12.
  • Loading branch information
irydacea committed Mar 12, 2014
1 parent ba8d643 commit 9fc587d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serialization/preprocessor.cpp
Expand Up @@ -1043,7 +1043,7 @@ bool preprocessor_data::get_chunk()
if (strings_.size() - token.stack_pos != 1)
{
std::ostringstream error;
error << "macro argument '" << symbol
error << "Macro argument '" << symbol
<< "' does not expect any argument";
target_.error(error.str(), linenum_);
}
Expand All @@ -1060,7 +1060,7 @@ bool preprocessor_data::get_chunk()
if (nb_arg != val.arguments.size())
{
std::ostringstream error;
error << "preprocessor symbol '" << symbol << "' expects "
error << "Preprocessor symbol '" << symbol << "' expects "
<< val.arguments.size() << " arguments, but has "
<< nb_arg << " arguments";
target_.error(error.str(), linenum_);
Expand Down

0 comments on commit 9fc587d

Please sign in to comment.