correct output language bug with --dump-to
authorMorgan Deters <mdeters@cs.nyu.edu>
Wed, 30 Jan 2013 20:43:33 +0000 (15:43 -0500)
committerMorgan Deters <mdeters@cs.nyu.edu>
Wed, 30 Jan 2013 20:43:56 +0000 (15:43 -0500)
src/main/driver_unified.cpp

index a9a7ef8c589affad0b50e013f3a67f35fde2f761..b429ad0c24967e4bb88477c11193f097648dc773 100644 (file)
@@ -180,6 +180,7 @@ int runCvc4(int argc, char* argv[], Options& opts) {
 
   // important even for muzzled builds (to get result output right)
   *opts[options::out] << Expr::setlanguage(opts[options::outputLanguage]);
+  DumpChannel.getStream() << Expr::setlanguage(opts[options::outputLanguage]);
 
   // Create the expression manager using appropriate options
 # ifndef PORTFOLIO_BUILD