diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-23 16:53:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-23 16:53:31 +0200 |
commit | e19095ef128f53644bc7650094d8924633c79efa (patch) | |
tree | d039eb841341af2d7b3f544b95644ad1afcb846c /build2/functions-process-path.cxx | |
parent | 793f078ec31dc61921b382f14412ed3e25cc51d8 (diff) |
Implement value type propagation on expansion
Currently, we only propagate types of sole, unquoted expansions (variable,
function call, or eval context), similar to NULL. To untypify the value,
simply quote it.
Diffstat (limited to 'build2/functions-process-path.cxx')
-rw-r--r-- | build2/functions-process-path.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/build2/functions-process-path.cxx b/build2/functions-process-path.cxx index 7069c33..a1d6d7c 100644 --- a/build2/functions-process-path.cxx +++ b/build2/functions-process-path.cxx @@ -21,15 +21,5 @@ namespace build2 { return move (p.effect.empty () ? p.recall : p.effect); }; - - //@@ TMP kludge - // - f["effect"] = [](names n) - { - auto p (value_traits<process_path>::convert ( - move (n[0]), n.size () > 1 ? &n[1] : nullptr)); - - return move (p.effect.empty () ? p.recall : p.effect); - }; } } |