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.
This commit is contained in:
2024-04-14 17:04:15 +06:30
parent 7a9e646d39
commit a8f605c89b
2 changed files with 91 additions and 1 deletions

View File

@@ -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