diff options
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 |
commit | 847280022ec8afb35d7d8639afd639c5ec42e3c7 (patch) | |
tree | e43aae271fe5aa75f1b0c918c1428e7f766a14f8 /include/openvic-dataloader/v2script/Parser.hpp | |
parent | ba8addc72595607206da654bc79c994121b7a3ae (diff) | |
parent | a07c64148eb60b886f92caa46a9c687240ec420c (diff) |
Merge pull request #52 from OpenVicProject/add/backslash-identifier
Add backslash identifier support to v2script
Diffstat (limited to 'include/openvic-dataloader/v2script/Parser.hpp')
-rw-r--r-- | include/openvic-dataloader/v2script/Parser.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openvic-dataloader/v2script/Parser.hpp b/include/openvic-dataloader/v2script/Parser.hpp index c5f37be..e575dfc 100644 --- a/include/openvic-dataloader/v2script/Parser.hpp +++ b/include/openvic-dataloader/v2script/Parser.hpp @@ -61,6 +61,8 @@ namespace ovdl::v2script { 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; |