diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-11-01 13:00:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-11-01 13:00:16 +0200 |
commit | eacf7f7ccd40a56d1fe761d3d30ced6c6acd58da (patch) | |
tree | 841a87d57720704654e8e8fa94cecd05c17b6cfa /build2/scope.hxx | |
parent | 8ba507252cb932023d16e5d4dfef267c039feb78 (diff) |
Add support for rule-specific variables, use to fix cc.type data race
Diffstat (limited to 'build2/scope.hxx')
-rw-r--r-- | build2/scope.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/scope.hxx b/build2/scope.hxx index d40d14a..770f320 100644 --- a/build2/scope.hxx +++ b/build2/scope.hxx @@ -135,7 +135,8 @@ namespace build2 pair<lookup, size_t> find_override (const variable&, pair<lookup, size_t> original, - bool target = false) const; + bool target = false, + bool rule = false) const; // Return a value suitable for assignment (or append if you only want to // append to the value from this scope). If the value does not exist in |