From b679b1452d6513c0769928a2238ccd367c2b78f7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 31 Mar 2020 08:07:02 +0200 Subject: Handle duplicate config directives for same variable --- libbuild2/config/utility.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/config') 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. -- cgit v1.1