diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-26 16:03:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-02 12:07:38 +0200 |
commit | b3bc26dc284cf73e97b88c9979d49368d07e686c (patch) | |
tree | 59ab65ede17e84b2fa463a4d27eaaa92fd0f8b85 /libbuild2/parser.hxx | |
parent | 5f768f4f3e6e9e1b7310a0e8b09a97bf6d0115ea (diff) |
Add support for propagating project environment
Diffstat (limited to 'libbuild2/parser.hxx')
-rw-r--r-- | libbuild2/parser.hxx | 5 |
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 |