+ more test cases
This commit is contained in:
parent
ea94518a64
commit
d3216300b2
2 changed files with 30 additions and 5 deletions
|
|
@ -1940,11 +1940,6 @@ JSON::Parser::~Parser()
|
|||
*/
|
||||
void JSON::Parser::parse(JSON& result)
|
||||
{
|
||||
if (_buffer == nullptr)
|
||||
{
|
||||
error("unexpected end of file");
|
||||
}
|
||||
|
||||
switch (_current)
|
||||
{
|
||||
case ('{'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue