diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-15 14:44:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-15 14:44:15 +0200 |
commit | 243da3993c138d33063f633aa3996a8a710ea396 (patch) | |
tree | 6d49a3f964f395773c06e258b6550a4d386fbec3 /build/name.cxx | |
parent | 3c2bc8595e9d6cf6ff35079231c3aab474a38130 (diff) |
Implement project-qualified names/prerequisites, two-stage import
Diffstat (limited to 'build/name.cxx')
-rw-r--r-- | build/name.cxx | 3 |
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. |