diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-09-08 16:16:11 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-11 13:57:29 +0300 |
commit | ffa0839de796fbefc48bacc4777648ff19b3fee6 (patch) | |
tree | 0f493314df633b6f35f9b9db78c7163506c8eed1 /build2/functions-path.cxx | |
parent | 66e516ad81225b888469b24e726095533c4f9c4c (diff) |
Add ability to pass scope to buildfile functions, add $install.resolve()
Diffstat (limited to 'build2/functions-path.cxx')
-rw-r--r-- | build2/functions-path.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/functions-path.cxx b/build2/functions-path.cxx index 4542858..45ec8ed 100644 --- a/build2/functions-path.cxx +++ b/build2/functions-path.cxx @@ -10,10 +10,12 @@ using namespace std; namespace build2 { static value - path_thunk (vector_view<value> args, const function_overload& f) + path_thunk (const scope& base, + vector_view<value> args, + const function_overload& f) try { - return function_family::default_thunk (move (args), f); + return function_family::default_thunk (base, move (args), f); } catch (const invalid_path& e) { |