summaryrefslogtreecommitdiff
path: root/src/parser/parser_exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/parser_exception.h')
-rw-r--r--src/parser/parser_exception.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/parser/parser_exception.h b/src/parser/parser_exception.h
index 89490fad8..b2cf8bc55 100644
--- a/src/parser/parser_exception.h
+++ b/src/parser/parser_exception.h
@@ -14,24 +14,25 @@
#define __CVC4__PARSER__PARSER_EXCEPTION_H
#include "util/exception.h"
+#include "cvc4_config.h"
#include <string>
#include <iostream>
namespace CVC4 {
namespace parser {
- class ParserException: public Exception {
- public:
- // Constructors
- ParserException() { }
- ParserException(const std::string& msg): Exception(msg) { }
- ParserException(const char* msg): Exception(msg) { }
- // Destructor
- virtual ~ParserException() { }
- virtual std::string toString() const {
- return "Parse Error: " + d_msg;
- }
- }; // end of class ParserException
+class CVC4_PUBLIC ParserException: public Exception {
+public:
+ // Constructors
+ ParserException() { }
+ ParserException(const std::string& msg): Exception(msg) { }
+ ParserException(const char* msg): Exception(msg) { }
+ // Destructor
+ virtual ~ParserException() { }
+ virtual std::string toString() const {
+ return "Parse Error: " + d_msg;
+ }
+}; // end of class ParserException
}/* CVC4::parser namespace */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback