aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/script.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-19 10:13:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-19 11:35:50 +0200
commit47ae21f6558f81ae7c13d143d297f61acae2b530 (patch)
treec9458eb0b0ef62feffd485a975286b372582c78e /libbuild2/build/script/script.hxx
parent65ce598d17a662b4c8b9a8df02b619549c5824c3 (diff)
Allow computed variables in depdb preamble similar to impure functions
Diffstat (limited to 'libbuild2/build/script/script.hxx')
-rw-r--r--libbuild2/build/script/script.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/build/script/script.hxx b/libbuild2/build/script/script.hxx
index 0619253..d0ab139 100644
--- a/libbuild2/build/script/script.hxx
+++ b/libbuild2/build/script/script.hxx
@@ -75,9 +75,10 @@ namespace build2
// script parser for details).
//
bool depdb_clear;
+ bool depdb_value; // String or hash.
optional<size_t> depdb_dyndep; // Pos of first dyndep.
bool depdb_dyndep_byproduct = false; // dyndep --byproduct
- lines_type depdb_preamble;
+ lines_type depdb_preamble; // Note include vars.
bool depdb_preamble_temp_dir = false; // True if refs $~.
location start_loc;