aboutsummaryrefslogtreecommitdiff
path: root/build/name.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/name.cxx')
-rw-r--r--build/name.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/name.cxx b/build/name.cxx
index 4ead47a..89236ee 100644
--- a/build/name.cxx
+++ b/build/name.cxx
@@ -47,7 +47,12 @@ namespace build
{
const name& n (*i);
++i;
- os << n << (n.pair ? "=" : (i != e ? " " : ""));
+ os << n;
+
+ if (n.pair != '\0')
+ os << n.pair;
+ else if (i != e)
+ os << ' ';
}
return os;