aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-26 15:40:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-26 15:40:29 +0200
commite1d2e3b63934c1e193429f1d6c4e04abc0e85d56 (patch)
treeff542da6cc5d7d1b8202b5ce9cd3573211024b94 /build/algorithm.cxx
parentcd9a4ea692ba87aa03a80489bf03736e713722c7 (diff)
Support for scope parents, initial variable support
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index d418cda..16bc1bc 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -47,7 +47,7 @@ namespace build
const auto& rules (i->second); // Hint map.
string hint; // @@ TODO
- auto rs (rules.find (hint));
+ auto rs (rules.find_prefix (hint));
for (auto i (rs.first); i != rs.second; ++i)
{