From f992ee1812ec4d3de5d871cade768db2fdfda86a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 24 Jun 2022 20:59:44 -1000 Subject: fix(parser): parser_exception out-of-line virtual --- src/parser.cc | 2 ++ src/parser.hh | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/parser.cc b/src/parser.cc index f853629..734be2f 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -26,6 +26,8 @@ namespace cait { parser_exception::parser_exception(const std::string &message) : std::runtime_error(message) {} +auto parser_exception::x() -> void {} + token_bundle::token_bundle(std::size_t &_j, token_t &bundle_token, std::vector &_parsed_token_line, std::vector &_token_line) diff --git a/src/parser.hh b/src/parser.hh index 5d1cdb4..4c10a28 100644 --- a/src/parser.hh +++ b/src/parser.hh @@ -32,6 +32,7 @@ using node_tree = std::vector; class parser_exception : public std::runtime_error { public: explicit parser_exception(const std::string &); + virtual auto x() -> void; }; struct token_bundle { -- cgit v1.2.3