diff options
| author | Fuwn <[email protected]> | 2022-06-24 13:45:00 -1000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-24 13:45:00 -1000 |
| commit | c8f9797a88edd041d835a2b388fb8779474c3e81 (patch) | |
| tree | 19c74f21b1ccf376a6c59f26b8e267cf1662e219 /src/parser.cc | |
| parent | fix(src): apply clang-tidy fixes (diff) | |
| download | cait-c8f9797a88edd041d835a2b388fb8779474c3e81.tar.xz cait-c8f9797a88edd041d835a2b388fb8779474c3e81.zip | |
refactor(parser): out-of-line definition for parser_exception
Diffstat (limited to 'src/parser.cc')
| -rw-r--r-- | src/parser.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser.cc b/src/parser.cc index 7bbc388..f853629 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -23,6 +23,9 @@ namespace cait { +parser_exception::parser_exception(const std::string &message) + : std::runtime_error(message) {} + token_bundle::token_bundle(std::size_t &_j, token_t &bundle_token, std::vector<token_t> &_parsed_token_line, std::vector<token_t> &_token_line) |