summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-10-08 06:25:05 +0000
committerMorgan Deters <mdeters@gmail.com>2010-10-08 06:25:05 +0000
commitfccdb4cbe2cde7c34e82f33e9de850a046fef888 (patch)
tree6cc8d4d4401656c492c36f09250f4814616caf27
parent8572eb7eddcd373acb73a1f2718cfd8d5c8c6a01 (diff)
support (set-info) on status, source, category, difficulty, smt-lib-version, and notes; reduces extraneous "unsupported" output
-rw-r--r--src/smt/smt_engine.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 5bf5ebd69..fc2c8550e 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -162,10 +162,15 @@ SmtEngine::~SmtEngine() {
void SmtEngine::setInfo(const string& key, const SExpr& value)
throw(BadOptionException) {
- if(key == ":status") {
+ if(key == ":status" ||
+ key == ":source" ||
+ key == ":category" ||
+ key == ":difficulty" ||
+ key == ":smt-lib-version" ||
+ key == ":notes") {
+ // ignore these
return;
}
- // FIXME implement me
throw BadOptionException();
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback