aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r--libbuild2/target.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx
index e4218ed..23e6c9c 100644
--- a/libbuild2/target.cxx
+++ b/libbuild2/target.cxx
@@ -506,7 +506,7 @@ namespace build2
if (dv < 1)
os << diag_relative (pd);
else
- os << pd.representation ();
+ to_stream (os, pd, true /* representation */);
}
const target_type& tt (*k.type);
@@ -535,7 +535,9 @@ namespace build2
assert (!k.ext);
}
else
- os << (rd.empty () ? dir_path (".") : rd.leaf ()).representation ();
+ to_stream (os,
+ rd.empty () ? dir_path (".") : rd.leaf (),
+ true /* representation */);
os << '}';