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/file.cxx | |
parent | 759e714238438cccf74f035e1ba11c925b27cd55 (diff) |
Add support for variable aliases
Diffstat (limited to 'build2/file.cxx')
-rw-r--r-- | build2/file.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/file.cxx b/build2/file.cxx index e18ae5e..5ffa59a 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -376,7 +376,7 @@ namespace build2 temp_scope tmp (s.global ()); p.parse_variable (lex, tmp, var, tt); - value* v (tmp.vars.find_to_modify (var)); + value* v (tmp.vars.find_to_modify (var).first); assert (v != nullptr); // Steal the value, the scope is going away. |