From d262f63ce5a7c3810abde1f66ee3bb99d56acdd0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Jan 2018 15:35:39 +0200 Subject: Add support for variable aliases --- build2/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/file.cxx') 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. -- cgit v1.1