|
|
|
@ -149,9 +149,9 @@ void CSVParser::parse()
|
|
|
|
|
if( lastc == -1 ) |
|
|
|
|
{ |
|
|
|
|
// an empty file/string, in such a case we return such a space struct (if would be serialized to json): [[]]
|
|
|
|
|
Space * row_space = new Space(); |
|
|
|
|
row_space->set_empty_table(); |
|
|
|
|
space->add(row_space); |
|
|
|
|
Space row_space; |
|
|
|
|
row_space.set_empty_table(); |
|
|
|
|
space->add(std::move(row_space)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
while( lastc != -1 ) |
|
|
|
|