summaryrefslogtreecommitdiffstats
path: root/src/parsers.cc
diff options
context:
space:
mode:
authorEvan Jones <ej@evanjones.ca>2012-01-04 16:40:30 (GMT)
committerEvan Martin <martine@danga.com>2012-01-04 17:06:19 (GMT)
commitb12139c13e8924ce4d0e634f5798274a5d87f5d7 (patch)
tree1d74bac160533c619c9033209e4e91be52ccf18a /src/parsers.cc
parentc11461a588456193d0a78cc550f595e4f1412bf3 (diff)
downloadNinja-b12139c13e8924ce4d0e634f5798274a5d87f5d7.zip
Ninja-b12139c13e8924ce4d0e634f5798274a5d87f5d7.tar.gz
Ninja-b12139c13e8924ce4d0e634f5798274a5d87f5d7.tar.bz2
Add a space to unexpected token errors.
Diffstat (limited to 'src/parsers.cc')
-rw-r--r--src/parsers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parsers.cc b/src/parsers.cc
index 506b209..afb097a 100644
--- a/src/parsers.cc
+++ b/src/parsers.cc
@@ -78,7 +78,7 @@ bool ManifestParser::Parse(const string& filename, const string& input,
case Lexer::NEWLINE:
break;
default:
- return lexer_.Error(string("unexpected") + Lexer::TokenName(token),
+ return lexer_.Error(string("unexpected ") + Lexer::TokenName(token),
err);
}
}