From 1821a11704143a89581b26e285d968230b86a8ac Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 10 Feb 2017 17:27:55 +0200 Subject: Track variable value modifications --- 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 c403eea..06910dc 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -339,7 +339,7 @@ namespace build2 temp_scope tmp (s.global ()); p.parse_variable (lex, tmp, var, tt); - value* v (tmp.vars.find (var)); + value* v (tmp.vars.find_to_modify (var)); assert (v != nullptr); // Steal the value, the scope is going away. -- cgit v1.1