aboutsummaryrefslogtreecommitdiff
path: root/build2/diagnostics.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/diagnostics.cxx')
-rw-r--r--build2/diagnostics.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/diagnostics.cxx b/build2/diagnostics.cxx
index 7b60d05..1265f73 100644
--- a/build2/diagnostics.cxx
+++ b/build2/diagnostics.cxx
@@ -97,6 +97,9 @@ namespace build2
if (type_ != nullptr)
r << type_ << ": ";
+ if (mod_ != nullptr)
+ r << mod_ << "::";
+
if (name_ != nullptr)
r << name_ << ": ";
}
@@ -119,6 +122,9 @@ namespace build2
if (type_ != nullptr)
r << type_ << ": ";
+ if (mod_ != nullptr)
+ r << mod_ << "::";
+
if (name_ != nullptr)
r << name_ << ": ";
}