aboutsummaryrefslogtreecommitdiff
path: root/build/b.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-15 14:44:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-15 14:44:15 +0200
commit243da3993c138d33063f633aa3996a8a710ea396 (patch)
tree6d49a3f964f395773c06e258b6550a4d386fbec3 /build/b.cxx
parent3c2bc8595e9d6cf6ff35079231c3aab474a38130 (diff)
Implement project-qualified names/prerequisites, two-stage import
Diffstat (limited to 'build/b.cxx')
-rw-r--r--build/b.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/b.cxx b/build/b.cxx
index 36d0b21..7280ecb 100644
--- a/build/b.cxx
+++ b/build/b.cxx
@@ -211,7 +211,7 @@ main (int argc, char* argv[])
const location l ("<buildspec>", 1, 0); //@@ TODO
if (os.empty ()) // Default target: dir{}.
- os.push_back (targetspec (name ("dir", dir_path (), string ())));
+ os.push_back (targetspec (name ("dir", string ())));
operation_id oid (0); // Not yet translated.
const operation_info* oif (nullptr);
@@ -265,7 +265,7 @@ main (int argc, char* argv[])
// Otherwise, if this is a simple name, see if there is a
// directory part in value.
//
- else if (tn.type.empty ())
+ else if (tn.untyped ())
{
// We cannot assume it is a valid filesystem name so we
// will have to do the splitting manually.