diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-09-05 21:38:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 21:38:13 +0200 |
commit | 870068cf33057348000b1422d4bf40772aaf0b87 (patch) | |
tree | f7569029f45ec019b0387e63aa7b94d1da7cc03a /src/openvic-dataloader/detail | |
parent | 238ab9dfaa8ec7a48142154d227605ae367d53d1 (diff) | |
parent | 1d2c5ce39d12adcb584d586952a59e15f2495f67 (diff) |
Merge pull request #9 from OpenVicProject/node-line-column
Diffstat (limited to 'src/openvic-dataloader/detail')
-rw-r--r-- | src/openvic-dataloader/detail/BasicBufferHandler.hpp | 4 | ||||
-rw-r--r-- | src/openvic-dataloader/detail/Errors.hpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/openvic-dataloader/detail/BasicBufferHandler.hpp b/src/openvic-dataloader/detail/BasicBufferHandler.hpp index 5f4f82d..72b85d3 100644 --- a/src/openvic-dataloader/detail/BasicBufferHandler.hpp +++ b/src/openvic-dataloader/detail/BasicBufferHandler.hpp @@ -41,6 +41,10 @@ namespace ovdl::detail { return std::nullopt; } + const auto& get_buffer() const { + return _buffer; + } + protected: lexy::buffer<Encoding, MemoryResource> _buffer; }; diff --git a/src/openvic-dataloader/detail/Errors.hpp b/src/openvic-dataloader/detail/Errors.hpp index f53bedc..bf7c831 100644 --- a/src/openvic-dataloader/detail/Errors.hpp +++ b/src/openvic-dataloader/detail/Errors.hpp @@ -1,6 +1,6 @@ #pragma once -#include "openvic-dataloader/v2script/Parser.hpp" +#include <openvic-dataloader/ParseError.hpp> namespace ovdl::errors { inline const ParseError make_no_file_error(const char* file_path) { |