From 44e1022f8141bd57756c2be4277c728ca7443eb3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 16 Dec 2017 12:00:53 +0200 Subject: Redo string/stream representation of dir{} name/target Now instead of: dir{foo/bar/} We get: foo/dir{bar/} Which feels more consistent with how we print other names/targets. That is, "directory bar/ in directory foo/" similar how foo/exe{bar} is "executable bar in directory foo/". --- build2/name.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'build2/name.hxx') diff --git a/build2/name.hxx b/build2/name.hxx index 20a8aa0..aac0ad1 100644 --- a/build2/name.hxx +++ b/build2/name.hxx @@ -43,6 +43,7 @@ namespace build2 name (string v): value (move (v)) {} name (dir_path d): dir (move (d)) {} name (string t, string v): type (move (t)), value (move (v)) {} + name (dir_path d, string v): dir (move (d)), value (move (v)) {} name (dir_path d, string t, string v) : dir (move (d)), type (move (t)), value (move (v)) {} -- cgit v1.1