From b3bc26dc284cf73e97b88c9979d49368d07e686c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Mar 2021 16:03:29 +0200 Subject: Add support for propagating project environment --- libbuild2/parser.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libbuild2/parser.hxx') 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 -- cgit v1.1