From b39ce46b80ef5cccc592398e0a74ba8d02742ead Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 Nov 2019 13:34:52 +0200 Subject: 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. --- libbuild2/scope.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbuild2/scope.hxx') 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_;} -- cgit v1.1