aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-16 16:05:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-16 16:28:12 +0300
commit320e849d17597aef40b9e3e62f79319f13f97e45 (patch)
tree9d6e4254c5461bfd3547aa4aa2d21057f77ee1b9 /build2/b.cxx
parent5d54628076bd7fc97e90c81b6d0df0fef4ceae20 (diff)
Fix uncaught invalid_path exception
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 70fb470..89929b1 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -1263,7 +1263,7 @@ main (int argc, char* argv[])
// Find the target type and extract the extension.
//
optional<string> e;
- const target_type* ti (bs.find_target_type (tn, e));
+ const target_type* ti (bs.find_target_type (tn, e, l));
if (ti == nullptr)
fail (l) << "unknown target type " << tn.type;