Clear the stack after parsing and fixes indentation.

This commit is contained in:
Milo Yip 2014-06-26 23:14:05 +08:00
parent 74a24377a8
commit 188b99b471

View File

@ -250,6 +250,7 @@ public:
RAPIDJSON_PARSE_ERROR_NORETURN("Nothing should follow the root object or array.", is.Tell());
}
stack_.Clear();
return !HasParseError();
}