diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-11 12:05:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-11 12:05:37 +0200 |
commit | 42257647f90d9180cfbc5b20f8b1b7a0ffef7e26 (patch) | |
tree | 909d8d327883af5da3ddce8ed6a00e6fa62f7aab /libbuild2/config/operation.cxx | |
parent | 891d13075769cbe1c50be3acd191359490b0af9a (diff) |
Minor config variable lookup cleanups
Diffstat (limited to 'libbuild2/config/operation.cxx')
-rw-r--r-- | libbuild2/config/operation.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/config/operation.cxx b/libbuild2/config/operation.cxx index 3758c87..2138986 100644 --- a/libbuild2/config/operation.cxx +++ b/libbuild2/config/operation.cxx @@ -306,7 +306,7 @@ namespace build2 // inherited. We might also not have any value at all (see // unconfigured()). // - if (!l.defined () || (l->null && sv.flags & omit_null)) + if (!l.defined () || (l->null && sv.flags & save_null_omitted)) continue; // Handle inherited from outer scope values. @@ -449,11 +449,11 @@ namespace build2 first = false; } - // Handle the save_commented flag. + // Handle the save_default_commented flag. // if ((org.first.defined () && org.first->extra) && // Default value. org.first == ovr.first && // Not overriden. - (sv.flags & save_commented) == save_commented) + (sv.flags & save_default_commented) != 0) { os << '#' << n << " =" << endl; continue; |