aboutsummaryrefslogtreecommitdiff
path: root/build2/context
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-29 17:14:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-29 17:14:01 +0200
commitf7bba792a10864f0a64a2a579306e3b20602c1dc (patch)
treeaf9e663a74500fc2784a210799e9deadf2f883eb /build2/context
parent96f2131e593e206f0e458409f22adfff8c1b5356 (diff)
Reset build state for each meta-operation
Diffstat (limited to 'build2/context')
-rw-r--r--build2/context6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/context b/build2/context
index b99ff73..661d9ff 100644
--- a/build2/context
+++ b/build2/context
@@ -41,11 +41,11 @@ namespace build2
//
extern uint64_t dependency_count;
- // Reset the dependency state. In particular, this removes all the
- // targets, scopes, and variable names.
+ // Reset the build state. In particular, this removes all the targets,
+ // scopes, and variables.
//
void
- reset ();
+ reset (const strings& cmd_vars);
// The dual interface wrapper for the {mk,rm}{file,dir}() functions
// below that allows you to use it as a true/false return or a more