summaryrefslogtreecommitdiffstats
path: root/src/parsers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsers.cc')
-rw-r--r--src/parsers.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parsers.cc b/src/parsers.cc
index c1badd8..5d347b2 100644
--- a/src/parsers.cc
+++ b/src/parsers.cc
@@ -313,6 +313,7 @@ bool ManifestParser::ExpectToken(Lexer::Token expected, string* err) {
if (token != expected) {
string message = string("expected ") + Lexer::TokenName(expected);
message += string(", got ") + Lexer::TokenName(token);
+ message += Lexer::TokenErrorHint(expected);
return lexer_.Error(message, err);
}
return true;