Minor formatting.
This commit is contained in:
parent
f55e366b17
commit
0b33ac0e7d
@ -196,7 +196,7 @@ void Parser::expect<std::string>(const std::string &expectedValue)
|
||||
const auto character = static_cast<char>(this->currentCharacter());
|
||||
|
||||
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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user