aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/parser.hxx')
-rw-r--r--libbuild2/parser.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/parser.hxx b/libbuild2/parser.hxx
index 3efb94a..915e34b 100644
--- a/libbuild2/parser.hxx
+++ b/libbuild2/parser.hxx
@@ -528,9 +528,10 @@ namespace build2
// Switch to a new current scope. Note that this function might also have
// to switch to a new root scope if the new current scope is in another
- // project. So both must be saved and restored.
+ // project. So both must be saved and restored. In case of a new root, it
+ // also switches to the new project's environment.
//
- void
+ auto_project_env
switch_scope (const dir_path& out_base);
void