summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2015-05-27 19:25:04 +0100
committerlianah <lianahady@gmail.com>2015-05-27 19:25:04 +0100
commit3df7ea65b701a9ab054179af7efb4be120d280f2 (patch)
tree35d113a1122b85aa296726a68d0a25aab643d30b /src
parentcd5b8c7aa15b9a2d84836e712c8dc61667afb348 (diff)
parentf713c6c9769bf810cddb8286e756e18bd2794a48 (diff)
Merge pull request #75 from Dunedune/master
Added missing LogicException to throws in method lemma.
Diffstat (limited to 'src')
-rw-r--r--src/theory/output_channel.h3
-rw-r--r--src/theory/theory_engine.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/output_channel.h b/src/theory/output_channel.h
index fdf253d3f..bef39f536 100644
--- a/src/theory/output_channel.h
+++ b/src/theory/output_channel.h
@@ -22,6 +22,7 @@
#include "util/cvc4_assert.h"
#include "theory/interrupted.h"
#include "util/resource_manager.h"
+#include "smt/logic_exception.h"
namespace CVC4 {
namespace theory {
@@ -120,7 +121,7 @@ public:
*/
virtual LemmaStatus lemma(TNode n, bool removable = false,
bool preprocess = false)
- throw(TypeCheckingExceptionPrivate, AssertionException, UnsafeInterruptException) = 0;
+ throw(TypeCheckingExceptionPrivate, AssertionException, UnsafeInterruptException, LogicException) = 0;
/**
* Request a split on a new theory atom. This is equivalent to
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index 0dd8b5f71..8aedc65f0 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -303,7 +303,7 @@ class TheoryEngine {
return d_engine->propagate(literal, d_theory);
}
- theory::LemmaStatus lemma(TNode lemma, bool removable = false, bool preprocess = false) throw(TypeCheckingExceptionPrivate, AssertionException, UnsafeInterruptException) {
+ theory::LemmaStatus lemma(TNode lemma, bool removable = false, bool preprocess = false) throw(TypeCheckingExceptionPrivate, AssertionException, UnsafeInterruptException, LogicException) {
Trace("theory::lemma") << "EngineOutputChannel<" << d_theory << ">::lemma(" << lemma << ")" << std::endl;
++ d_statistics.lemmas;
d_engine->d_outputChannelUsed = true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback