aboutsummaryrefslogtreecommitdiff
path: root/include/openvic-dataloader/csv/Parser.hpp
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-07-22 19:30:41 +0200
committer GitHub <noreply@github.com>2024-07-22 19:30:41 +0200
commit847280022ec8afb35d7d8639afd639c5ec42e3c7 (patch)
treee43aae271fe5aa75f1b0c918c1428e7f766a14f8 /include/openvic-dataloader/csv/Parser.hpp
parentba8addc72595607206da654bc79c994121b7a3ae (diff)
parenta07c64148eb60b886f92caa46a9c687240ec420c (diff)
Merge pull request #52 from OpenVicProject/add/backslash-identifier
Add backslash identifier support to v2script
Diffstat (limited to 'include/openvic-dataloader/csv/Parser.hpp')
-rw-r--r--include/openvic-dataloader/csv/Parser.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openvic-dataloader/csv/Parser.hpp b/include/openvic-dataloader/csv/Parser.hpp
index 1c363c8..e3ae84d 100644
--- a/include/openvic-dataloader/csv/Parser.hpp
+++ b/include/openvic-dataloader/csv/Parser.hpp
@@ -42,6 +42,8 @@ namespace ovdl::csv {
using error_range = ovdl::detail::error_range<error::Root>;
Parser::error_range get_errors() const;
+ std::string_view error(const ovdl::error::Error* error) const;
+
const FilePosition get_error_position(const error::Error* error) const;
void print_errors_to(std::basic_ostream<char>& stream) const;