From 0b33ac0e7da1a871701c82264dd70efa914dd968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Mon, 30 May 2016 13:06:10 +0200 Subject: [PATCH] Minor formatting. --- src/plasp/utils/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasp/utils/Parser.cpp b/src/plasp/utils/Parser.cpp index 7c44e87..560b101 100644 --- a/src/plasp/utils/Parser.cpp +++ b/src/plasp/utils/Parser.cpp @@ -196,7 +196,7 @@ void Parser::expect(const std::string &expectedValue) const auto character = static_cast(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(); });