summaryrefslogtreecommitdiff
path: root/src/expr/node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/node.cpp')
-rw-r--r--src/expr/node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expr/node.cpp b/src/expr/node.cpp
index 11e889ca2..e580b6348 100644
--- a/src/expr/node.cpp
+++ b/src/expr/node.cpp
@@ -27,6 +27,9 @@ TypeCheckingExceptionPrivate::TypeCheckingExceptionPrivate(TNode node,
std::string message) throw() :
Exception(message),
d_node(new Node(node)) {
+#ifdef CVC4_DEBUG
+ s_debugLastException = toString().c_str();
+#endif /* CVC4_DEBUG */
}
TypeCheckingExceptionPrivate::~TypeCheckingExceptionPrivate() throw () {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback