aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.hpp
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-14 17:04:15 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-14 17:04:15 +0630
commita8f605c89b0e3d57aeb30b165733d95a11829f7b (patch)
tree2cc102c2ca86d98d32268008fdb9122f76846644 /asm/lexer.hpp
parent7a9e646d396cf8c4abbadb6e6df208bb96cd070c (diff)
downloadovm-a8f605c89b0e3d57aeb30b165733d95a11829f7b.tar.gz
ovm-a8f605c89b0e3d57aeb30b165733d95a11829f7b.tar.bz2
ovm-a8f605c89b0e3d57aeb30b165733d95a11829f7b.zip
Implemented tokenise_buffer
Note that this is basically the same as the previous version, excluding the fact that it uses C++ idioms more and does a bit better in error checking.
Diffstat (limited to 'asm/lexer.hpp')
-rw-r--r--asm/lexer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/lexer.hpp b/asm/lexer.hpp
index 4e8439b..3b9243f 100644
--- a/asm/lexer.hpp
+++ b/asm/lexer.hpp
@@ -91,6 +91,6 @@ enum lerr_t
};
const char *lerr_as_cstr(lerr_t);
-lerr_t tokenise_string(std::string_view, std::vector<token_t> &);
+lerr_t tokenise_buffer(std::string_view, std::vector<token_t> &);
#endif