+ more test cases

This commit is contained in:
Niels 2014-12-28 17:26:33 +01:00
parent ea94518a64
commit d3216300b2
2 changed files with 30 additions and 5 deletions

View file

@ -1940,11 +1940,6 @@ JSON::Parser::~Parser()
*/
void JSON::Parser::parse(JSON& result)
{
if (_buffer == nullptr)
{
error("unexpected end of file");
}
switch (_current)
{
case ('{'):