llvm-svn: 149856
This commit is contained in:
Sebastian Pop 2012-02-06 05:29:29 +00:00
parent 5b5935d17d
commit bbb8eb58f9
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ JSONParser::JSONParser(StringRef Input, SourceMgr *SM)
JSONValue *JSONParser::parseRoot() { JSONValue *JSONParser::parseRoot() {
if (Position != InputBuffer->getBuffer().begin()) if (Position != InputBuffer->getBuffer().begin())
report_fatal_error("Cannot resuse JSONParser."); report_fatal_error("Cannot reuse JSONParser.");
if (isWhitespace()) if (isWhitespace())
nextNonWhitespace(); nextNonWhitespace();
if (errorIfAtEndOfFile("'[' or '{' at start of JSON text")) if (errorIfAtEndOfFile("'[' or '{' at start of JSON text"))