summaryrefslogtreecommitdiff
path: root/src/expr/command.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-06-14 17:42:47 +0000
committerMorgan Deters <mdeters@gmail.com>2012-06-14 17:42:47 +0000
commit4c956f292906c59ba77c000084a08a4e7888e49b (patch)
treeb068a48c9fc8579eb078432ad6335b48e9a820d6 /src/expr/command.cpp
parent69693d7c8e5ca84b76fa807cb0797823058caa9a (diff)
some changes to make CVC4 work nicely with trace executor for application track; (set-option :print-success true) supported, (exit) causes immediate exit regardless of EOF, etc.
Diffstat (limited to 'src/expr/command.cpp')
-rw-r--r--src/expr/command.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr/command.cpp b/src/expr/command.cpp
index ae24f4984..6d934c3fd 100644
--- a/src/expr/command.cpp
+++ b/src/expr/command.cpp
@@ -467,6 +467,7 @@ Type DeclareFunctionCommand::getType() const throw() {
void DeclareFunctionCommand::invoke(SmtEngine* smtEngine) throw() {
Dump("declarations") << *this;
+ d_commandStatus = CommandSuccess::instance();
}
Command* DeclareFunctionCommand::exportTo(ExprManager* exprManager,
@@ -497,6 +498,7 @@ Type DeclareTypeCommand::getType() const throw() {
void DeclareTypeCommand::invoke(SmtEngine* smtEngine) throw() {
Dump("declarations") << *this;
+ d_commandStatus = CommandSuccess::instance();
}
Command* DeclareTypeCommand::exportTo(ExprManager* exprManager,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback