1
2
3
4
5
6 #include <soulng/lexer/ParsingException.hpp>
7
8 namespace soulng { namespace lexer {
9
10 ParsingException::ParsingException(const std::string& message_, const std::string& fileName_, const Span& span_) :
11 std::runtime_error(message_), message(message_), fileName(fileName_), span(span_), mod(nullptr)
12 {
13 }
14
15 void ParsingException::SetProject(const std::string& project_)
16 {
17 project = project_;
18 }
19
20 } }