Skip to content

field_object.type is wrong #14

@8naf

Description

@8naf

Sorry, my English is not good.

I have a csv file with two empty lines.

when I run the below code:

auto field = csv.next_field();
std::cout << (field.type == FieldType::DATA) << std::endl;

The result is 1 (true).
I think field.type should be FieldType::ROW_END instead of FieldType::DATA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions