summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.cc2
-rw-r--r--src/parser.hh1
2 files changed, 3 insertions, 0 deletions
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<token_t> &_parsed_token_line,
std::vector<token_t> &_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<node::node_set>;
class parser_exception : public std::runtime_error {
public:
explicit parser_exception(const std::string &);
+ virtual auto x() -> void;
};
struct token_bundle {