From 320e849d17597aef40b9e3e62f79319f13f97e45 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 May 2018 16:05:05 +0300 Subject: Fix uncaught invalid_path exception --- build2/b.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/b.cxx') 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 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; -- cgit v1.1