From 4b4d7a0fd5c21815f4902d6527cb1eaf13b233f7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 3 Aug 2016 10:37:12 +0200 Subject: Don't treat absent config values that are saved commented as new --- build2/config/utility | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build2/config/utility') diff --git a/build2/config/utility b/build2/config/utility index c1ccc0f..2be2842 100644 --- a/build2/config/utility +++ b/build2/config/utility @@ -28,7 +28,11 @@ namespace build2 // the value is "new", that is, it was set to the default value (inherited // or not, including overrides). We also treat command line overrides // (inherited or not) as new. This flag is usually used to test that the - // new value is valid, etc. + // new value is valid, print report, etc. + // + // Note also that if save_flags has save_commented, then a default value + // is never considered "new" since for such variables absence of a value + // means the default value. // template pair, bool> -- cgit v1.1