fix echo command in --tear-down-incremental
authorKshitij Bansal <kshitij@cs.nyu.edu>
Tue, 31 Mar 2015 23:26:06 +0000 (19:26 -0400)
committerKshitij Bansal <kshitij@cs.nyu.edu>
Tue, 31 Mar 2015 23:26:06 +0000 (19:26 -0400)
src/main/driver_unified.cpp

index c3372d2c809d6f5042241a93e1e8ca60cb3b27ea..9178e928962345d17fe14bba5979280cfa936ee0 100644 (file)
@@ -450,7 +450,8 @@ int runCvc4(int argc, char* argv[], Options& opts) {
              dynamic_cast<GetInstantiationsCommand*>(cmd) == NULL &&
              dynamic_cast<GetAssertionsCommand*>(cmd) == NULL &&
              dynamic_cast<GetInfoCommand*>(cmd) == NULL &&
-             dynamic_cast<GetOptionCommand*>(cmd) == NULL) {
+             dynamic_cast<GetOptionCommand*>(cmd) == NULL &&
+             dynamic_cast<EchoCommand*>(cmd) == NULL) {
             Command* copy = cmd->clone();
             allCommands.back().push_back(copy);
           }