diff options
-rw-r--r-- | src/util/options.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/options.cpp b/src/util/options.cpp index 1296fa5af..06dc6769b 100644 --- a/src/util/options.cpp +++ b/src/util/options.cpp @@ -863,6 +863,7 @@ throw(OptionException) { case DUMP_TO: { #ifdef CVC4_DUMPING + size_t dagSetting = expr::ExprDag::getDag(Dump.getStream()); if(optarg == NULL || *optarg == '\0') { throw OptionException(string("Bad file name for --dump-to")); } else if(!strcmp(optarg, "-")) { @@ -874,6 +875,7 @@ throw(OptionException) { } Dump.setStream(*dumpTo); } + expr::ExprDag::setDag(Dump.getStream(), dagSetting); #else /* CVC4_DUMPING */ throw OptionException("The dumping feature was disabled in this build of CVC4."); #endif /* CVC4_DUMPING */ |