aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-15 12:12:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-27 08:35:29 +0200
commit66834a2d66bdcd36013afd7c3325acd9acf4a0b6 (patch)
treee0329bcfbd24bcb6fd56f0ad94597c0050d49496 /libbuild2/context.hxx
parentcf1670f9a6541e42f22d58e2de5940e64cb6637e (diff)
Support for the nested build case
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index 8e68784..2a9c93e 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -428,7 +428,7 @@ namespace build2
//
const loaded_modules_lock* modules_lock;
- // Nested context for updating build system modules.
+ // Nested context for updating build system modules and ad hoc recipes.
//
// Note that such a context itself should normally have modules_context
// setup to point to itself (see import_module() for details).
@@ -438,9 +438,10 @@ namespace build2
public:
// If module_context is absent, then automatic updating of build system
- // modules is disabled. If it is NULL, then the context will be created
- // lazily if and when necessary. Otherwise, it should be a properly setup
- // context (including, normally, a self-reference in modules_context).
+ // modules and ad hoc recipes is disabled. If it is NULL, then the context
+ // will be created lazily if and when necessary. Otherwise, it should be a
+ // properly setup context (including, normally, a self-reference in
+ // modules_context).
//
explicit
context (scheduler&,