Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

field_object.type is wrong #14

Open
8naf opened this issue Jun 19, 2021 · 2 comments
Open

field_object.type is wrong #14

8naf opened this issue Jun 19, 2021 · 2 comments

Comments

@8naf
Copy link

8naf commented Jun 19, 2021

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.

@AriaFallah
Copy link
Owner

Thanks for the bug report @8naf. Your english is great :). Regarding the bug, I don't have a ton of time to investigate why this is happening or to fix it. Do you want to try figuring out what's going wrong?

@8naf
Copy link
Author

8naf commented Jun 26, 2021

Thanks for the suggestion.
Like you, I'm pretty busy too, but if I find something I'll let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants