api2021 part I #4

Merged
tomasz.sowa merged 67 commits from api2021 into master 2021-05-27 10:37:36 +02:00
1 changed files with 3 additions and 4 deletions
Showing only changes of commit abeca010cc - Show all commits

View File

@ -407,7 +407,9 @@ void SpaceParser::ParseSpace(Space * space)
ReadChar(); // inserting a next character after the space_start char to lastc
}
space->set_empty_object();
if( !space->is_object() )
space->set_empty_object();
ParseKeyValuePairs(space);
if( need_space_start_character )
@ -496,9 +498,6 @@ void SpaceParser::ParseFloatingPointValue(Space * space)
void SpaceParser::ParseTable(Space * space)
{
space->set_empty_table();
ReadChar(); // inserting a next character after the table_start char to lastc
space->set_empty_table();
ParseValuesList(space);