csv-parser
csv-parser copied to clipboard
The code fails to read last line of csv if it doesn't contain a carriage return of some sort.
To fix this problem
Change
else if (!inquotes && (c == '\r' || c == '\n'))
to
else if (!inquotes && (c == '\r' || c == '\n' || in.eof()))
:)
Hi @EdBreen,
why don´t you open up a merge request ?
Kind regards,
Florian