From 7a0309b5dd37acb30321716794fba4449b374add Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 3 Dec 2017 14:26:11 +0200 Subject: Add few clarifying comments --- build2/variable.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build2/variable.hxx') diff --git a/build2/variable.hxx b/build2/variable.hxx index 60a1699..c5e1a13 100644 --- a/build2/variable.hxx +++ b/build2/variable.hxx @@ -117,6 +117,9 @@ namespace build2 // reset() before any other variables. Project wide overrides are entered in // main(). Overriding happens in scope::find_override(). // + // NULL type and normal visibility are the defaults and can be overridden by + // "tighter" values. + // struct variable { string name; @@ -804,7 +807,7 @@ namespace build2 class variable_pool { public: - // Find existing or insert new. + // Find existing (assert exists). // const variable& operator[] (const string& name) const; -- cgit v1.1