aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/detail/ParseHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-dataloader/detail/ParseHandler.hpp')
-rw-r--r--src/openvic-dataloader/detail/ParseHandler.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openvic-dataloader/detail/ParseHandler.hpp b/src/openvic-dataloader/detail/ParseHandler.hpp
index 28222ae..89969be 100644
--- a/src/openvic-dataloader/detail/ParseHandler.hpp
+++ b/src/openvic-dataloader/detail/ParseHandler.hpp
@@ -85,9 +85,10 @@ namespace ovdl::detail {
lexy::buffer<BufferEncoding>(std::move(buffer)),
encoding
};
- return;
+ } else {
+ *state = { lexy::buffer<BufferEncoding>(std::move(buffer)), encoding };
}
- *state = { lexy::buffer<BufferEncoding>(std::move(buffer)), encoding };
+ state->update_logger_file();
};
template<detail::IsStateType State>