Skip to content

Commit

Permalink
add csv_reader_tests to CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Nov 26, 2024
1 parent 3cca367 commit 66e4144
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion include/jsoncons_ext/csv/csv_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,17 @@ class basic_csv_parser : public ser_context, public virtual basic_parser_input<C
}
}

for (; (input_ptr_ < local_input_end) && more_;)
while (more_)
{
if (input_ptr_ == local_input_end)
{
if (!chunk_rdr_->read_chunk(*this, ec))
{
break;
}
local_input_end = input_end_;
}

CharT curr_char = *input_ptr_;

switch (state_)
Expand Down

0 comments on commit 66e4144

Please sign in to comment.