aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-04 13:34:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-04 15:15:30 +0200
commitb39ce46b80ef5cccc592398e0a74ba8d02742ead (patch)
treea7ccf1a628ea8cf6a5804d4ad6c0b704fade5807 /libbuild2/scope.hxx
parent41a31b0a61464fd506166887f621100364e67276 (diff)
Add $config.export() function
This is similar to the config.export variable functionality except it can be called from within buildfiles. Note that this function can only be used during configure unless the config module creation was forced for other meta-operations with config.module=true in bootstrap.build.
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index 2737958..cd8fcb2 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -51,10 +51,10 @@ namespace build2
scope* parent_scope () {return parent_;}
const scope* parent_scope () const {return parent_;}
- // Root scope of this scope or NULL if this scope is not (yet)
- // in any (known) project. Note that if the scope itself is
- // root, then this function return this. To get to the outer
- // root, query the root scope of the parent.
+ // Root scope of this scope or NULL if this scope is not (yet) in any
+ // (known) project. Note that if the scope itself is root, then this
+ // function return this. To get to the outer root, query the root scope of
+ // the parent.
//
scope* root_scope () {return root_;}
const scope* root_scope () const {return root_;}