diff options
Diffstat (limited to 'Exception.cpp')
-rw-r--r-- | Exception.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Exception.cpp b/Exception.cpp index 46f420e..5cb7094 100644 --- a/Exception.cpp +++ b/Exception.cpp @@ -43,4 +43,10 @@ ParserException::ParserException(const char * fmt, ...) { va_format(args, fmt); va_end(args); } - +NodeException::NodeException(Node * node, const char * fmt, ...) { + this->node = node; + va_list args; + va_start(args, fmt); + va_format(args, fmt); + va_end(args); +} |