From 9fc587d56d200fe38d44bc62d28e71c741fc066e Mon Sep 17 00:00:00 2001 From: "Ignacio R. Morelle" Date: Wed, 12 Mar 2014 12:08:08 -0300 Subject: [PATCH] preprocessor: Capitalize first word of two error messages Like all WML preprocessor diagnostics, these aren't translatable strings, so this is a valid candidate for 1.12. --- src/serialization/preprocessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serialization/preprocessor.cpp b/src/serialization/preprocessor.cpp index 9d15065ee44a..21c62474ddfa 100644 --- a/src/serialization/preprocessor.cpp +++ b/src/serialization/preprocessor.cpp @@ -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_); } @@ -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_);