diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-04 15:35:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-05 15:10:01 +0200 |
commit | d262f63ce5a7c3810abde1f66ee3bb99d56acdd0 (patch) | |
tree | 7a7114ceb95d17ebadc56f983309fb6ac5864a39 /build2/config/utility.txx | |
parent | 759e714238438cccf74f035e1ba11c925b27cd55 (diff) |
Add support for variable aliases
Diffstat (limited to 'build2/config/utility.txx')
-rw-r--r-- | build2/config/utility.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/config/utility.txx b/build2/config/utility.txx index fc21710..4336955 100644 --- a/build2/config/utility.txx +++ b/build2/config/utility.txx @@ -39,7 +39,7 @@ namespace build2 v.extra = true; // Default value flag. n = (save_flags & save_commented) == 0; // Absence means default. - l = lookup (v, root); + l = lookup (v, var, root); org = make_pair (l, 1); // Lookup depth is 1 since it's in root.vars. } // Treat an inherited value that was set to default as new. |