aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-03-31 08:07:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-03-31 08:07:02 +0200
commitb679b1452d6513c0769928a2238ccd367c2b78f7 (patch)
treecbaaab7b6a59d5abe0e23dd856f2a61276136822 /libbuild2/config/utility.hxx
parent9024e707e82f80230caa488a499ecaae563f585e (diff)
Handle duplicate config directives for same variable
Diffstat (limited to 'libbuild2/config/utility.hxx')
-rw-r--r--libbuild2/config/utility.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/config/utility.hxx b/libbuild2/config/utility.hxx
index f2bddc2..38a3ae1 100644
--- a/libbuild2/config/utility.hxx
+++ b/libbuild2/config/utility.hxx
@@ -99,7 +99,8 @@ namespace build2
// then, if there is no value, call the version with the default value and
// end up with the same result if we called the default value version
// straight away. This is useful when computing the default value is
- // expensive.
+ // expensive. It is also ok to call both versions multiple times provided
+ // the flags are the same.
//
// @@ Should we pass flags and interpret save_null_omitted to treat null
// as undefined? Sounds logical.