diff options
| author | gingerBill <bill@gingerbill.org> | 2023-09-30 20:26:04 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-09-30 20:26:04 +0100 |
| commit | 5023313c031d2d2e587dc1e30b4982e7784061c2 (patch) | |
| tree | 2ce225d27db249cdb7a6061a388ef09072a3a6ee /core/encoding | |
| parent | 3e0fd6368225ddfa6820be72d194b7cd1daf52dc (diff) | |
Minor cleanups to the core library
Diffstat (limited to 'core/encoding')
| -rw-r--r-- | core/encoding/csv/reader.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/encoding/csv/reader.odin b/core/encoding/csv/reader.odin index f8f1d4051..44a9fdcc4 100644 --- a/core/encoding/csv/reader.odin +++ b/core/encoding/csv/reader.odin @@ -248,7 +248,7 @@ _read_record :: proc(r: ^Reader, dst: ^[dynamic]string, allocator := context.all field_length += 1 case '\n', '\r': - if !is_quoted { break read_loop } + is_quoted or_break read_loop case r.comma: field_length = 0 |