summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.cc3
-rw-r--r--src/parser.hh3
2 files changed, 4 insertions, 2 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)
diff --git a/src/parser.hh b/src/parser.hh
index f49081e..5d1cdb4 100644
--- a/src/parser.hh
+++ b/src/parser.hh
@@ -31,8 +31,7 @@ using node_tree = std::vector<node::node_set>;
class parser_exception : public std::runtime_error {
public:
- explicit parser_exception(const std::string &message)
- : std::runtime_error(message) {}
+ explicit parser_exception(const std::string &);
};
struct token_bundle {