aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script.cxx')
-rw-r--r--build2/test/script/script.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/build2/test/script/script.cxx b/build2/test/script/script.cxx
index eb366c1..5a9ad3c 100644
--- a/build2/test/script/script.cxx
+++ b/build2/test/script/script.cxx
@@ -438,6 +438,7 @@ namespace build2
scope (const string& id, scope* p)
: parent (p),
root (p != nullptr ? p->root : static_cast<script*> (this)),
+ vars (false /* global */),
id_path (cast<path> (assign (root->id_var) = path ())),
wd_path (cast<dir_path> (assign (root->wd_var) = dir_path ()))