summaryrefslogtreecommitdiff
path: root/src/parser/parser_exception.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2012-12-12 17:28:14 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-03-20 15:36:53 -0400
commit04e3d0ae6b6135f50cf119f3cf85150dcc87d774 (patch)
tree9e3bf2583ccbe75fdf5a78129a9d792b7e5681a3 /src/parser/parser_exception.h
parent0c661d41f7594ee3c761b173c1e709ce428ce89d (diff)
Interactive mode support for multiline input
Diffstat (limited to 'src/parser/parser_exception.h')
-rw-r--r--src/parser/parser_exception.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/parser/parser_exception.h b/src/parser/parser_exception.h
index 8abc04c15..6eae3047d 100644
--- a/src/parser/parser_exception.h
+++ b/src/parser/parser_exception.h
@@ -89,6 +89,30 @@ protected:
unsigned long d_column;
};/* class ParserException */
+class CVC4_PUBLIC ParserEndOfFileException : public ParserException {
+public:
+
+ // Constructors same as ParserException's
+
+ ParserEndOfFileException() throw() :
+ ParserException() {
+ }
+
+ ParserEndOfFileException(const std::string& msg) throw() :
+ ParserException(msg) {
+ }
+
+ ParserEndOfFileException(const char* msg) throw() :
+ ParserException(msg) {
+ }
+
+ ParserEndOfFileException(const std::string& msg, const std::string& filename,
+ unsigned long line, unsigned long column) throw() :
+ ParserException(msg, filename, line, column) {
+ }
+
+};/* class ParserEndOfFileException */
+
}/* CVC4::parser namespace */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback