diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-10 17:27:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | 1821a11704143a89581b26e285d968230b86a8ac (patch) | |
tree | bee33a148ec205157195fd55fd8a0d24db4fc3d2 /build2/file.cxx | |
parent | dbd30777d1c60bdcdff226b5f97582dba0bba4ba (diff) |
Track variable value modifications
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 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. |