summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-06-22 03:01:23 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-06-22 03:01:23 -0400
commit933a5122ca26194a557a467a082afdafad917335 (patch)
treeaabe9cb1392f57b555b64bcfc4483c0c88f7268f
parent19f565aabe8ece904f67e1353ec67a5bf485fc97 (diff)
QuitCommand needs "success" output for trace executor. :-(smtcomp2014-application
-rw-r--r--src/main/driver_unified.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp
index d9b9694e5..2f75c8887 100644
--- a/src/main/driver_unified.cpp
+++ b/src/main/driver_unified.cpp
@@ -383,11 +383,11 @@ int runCvc4(int argc, char* argv[], Options& opts) {
} else {
Command* copy = cmd->clone();
allCommands.back().push_back(copy);
+ status = pExecutor->doCommand(cmd);
if(dynamic_cast<QuitCommand*>(cmd) != NULL) {
delete cmd;
break;
}
- status = pExecutor->doCommand(cmd);
}
delete cmd;
}
@@ -417,11 +417,11 @@ int runCvc4(int argc, char* argv[], Options& opts) {
replayParser->useDeclarationsFrom(parser);
}
while(status && (cmd = parser->nextCommand())) {
+ status = pExecutor->doCommand(cmd);
if(dynamic_cast<QuitCommand*>(cmd) != NULL) {
delete cmd;
break;
}
- status = pExecutor->doCommand(cmd);
delete cmd;
}
// Remove the parser
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback