aboutsummaryrefslogtreecommitdiff
path: root/build/name.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/name.cxx
parent3c2bc8595e9d6cf6ff35079231c3aab474a38130 (diff)
Implement project-qualified names/prerequisites, two-stage import
Diffstat (limited to 'build/name.cxx')
-rw-r--r--build/name.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/name.cxx b/build/name.cxx
index 89236ee..4061c78 100644
--- a/build/name.cxx
+++ b/build/name.cxx
@@ -15,6 +15,9 @@ namespace build
ostream&
operator<< (ostream& os, const name& n)
{
+ if (n.proj != nullptr)
+ os << *n.proj << '%';
+
// If the value is empty, then we want to print the directory
// inside {}, e.g., dir{bar/}, not bar/dir{}. We also want to
// print {} for an empty name.