Minor formatting.

This commit is contained in:
Patrick Lühne 2016-05-30 13:06:10 +02:00
parent f55e366b17
commit 0b33ac0e7d

View File

@ -196,7 +196,7 @@ void Parser::expect<std::string>(const std::string &expectedValue)
const auto character = static_cast<char>(this->currentCharacter()); const auto character = static_cast<char>(this->currentCharacter());
if (character != expectedCharacter) if (character != expectedCharacter)
throw ParserException(m_row, m_column, "Unexpected string, expected " + expectedValue + " (expected " + expectedCharacter + ", got " + character + ")"); throw ParserException(m_row, m_column, "Unexpected string, expected \"" + expectedValue + "\" (expected character '" + expectedCharacter + "', got '" + character + "')");
this->advance(); this->advance();
}); });