From 84f26af22566f7c10dea45b399b944cb50b5e317 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Fri, 9 Mar 2012 21:10:17 +0000 Subject: Some work on the dump infrastructure to support portfolio work. Dump("foo") << FooCommand(...); now "dumps" the textual representation of the command (in the current output language) to a file, IF dumping is on at configure-time, AND the "muzzle" feature is off, AND the "foo" flag is turned on for the dump stream during this run. If it's a portfolio build, the above will also store the command in a CommandSequence, IF the "foo" flag is turned on for the dump stream during this run. This is done even if the muzzle is on. This commit also cleans up some code that used the dump feature (in arrays, particularly). --- src/main/driver.cpp | 1 + src/main/driver_portfolio.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/main') diff --git a/src/main/driver.cpp b/src/main/driver.cpp index eb70f5c93..ef6b99715 100644 --- a/src/main/driver.cpp +++ b/src/main/driver.cpp @@ -38,6 +38,7 @@ #include "util/configuration.h" #include "util/options.h" #include "util/output.h" +#include "util/dump.h" #include "util/result.h" #include "util/stats.h" diff --git a/src/main/driver_portfolio.cpp b/src/main/driver_portfolio.cpp index 363901c1d..d8a8e5afa 100644 --- a/src/main/driver_portfolio.cpp +++ b/src/main/driver_portfolio.cpp @@ -24,6 +24,7 @@ #include "util/configuration.h" #include "util/options.h" #include "util/output.h" +#include "util/dump.h" #include "util/result.h" #include "util/stats.h" -- cgit v1.2.3