aboutsummaryrefslogtreecommitdiff
path: root/build2/dump.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/dump.hxx')
-rw-r--r--build2/dump.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/build2/dump.hxx b/build2/dump.hxx
index 74ecbe7..e9a3b30 100644
--- a/build2/dump.hxx
+++ b/build2/dump.hxx
@@ -8,15 +8,19 @@
#include <build2/types.hxx>
#include <build2/utility.hxx>
+#include <build2/action.hxx>
+
namespace build2
{
class scope;
class target;
- // Dump the build state to diag_stream.
+ // Dump the build state to diag_stream. If action is specified, then assume
+ // rules have been matched for this action and dump action-specific
+ // information (like rule-specific variables).
//
void
- dump ();
+ dump (optional<action> = nullopt);
void
dump (const scope&, const char* ind = "");