aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-03-25 10:24:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-03-26 12:14:30 +0200
commit5f768f4f3e6e9e1b7310a0e8b09a97bf6d0115ea (patch)
treedcc37234fa0fbd2340015b9a29ce7a5bfa403462 /libbuild2/config/utility.hxx
parenta85d3e26b4915f60869a69e71e16800087cf2e8a (diff)
Implement config.config.environment storage
Diffstat (limited to 'libbuild2/config/utility.hxx')
-rw-r--r--libbuild2/config/utility.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/config/utility.hxx b/libbuild2/config/utility.hxx
index 0429555..45fdaba 100644
--- a/libbuild2/config/utility.hxx
+++ b/libbuild2/config/utility.hxx
@@ -57,6 +57,8 @@ namespace build2
//
const uint64_t save_default_commented = 0x01; // Based on value::extra.
const uint64_t save_null_omitted = 0x02; // Treat NULL as undefined.
+ const uint64_t save_empty_omitted = 0x04; // Treat empty as undefined.
+ const uint64_t save_base = 0x08; // Custom save with base.
inline void
save_variable (scope& rs, const variable& var, uint64_t flags = 0)