diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-12-01 20:32:38 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-12-05 17:21:48 +0300 |
commit | 26bdc152246f6a1caf1f0667b5f04f1804d599fa (patch) | |
tree | d65bc32bd9e4673de01708014b9908e5abd1f56e /build2/parser.cxx | |
parent | 4bad3a3aa3ffc111197f1d5d4b50baa1c4390444 (diff) |
Adapt to semantics change of path::normalize()
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx index b287550..2776020 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -659,8 +659,10 @@ namespace build2 if (ti == nullptr) fail (ploc) << "unknown target type " << pn.type; + // Current dir collapses to an empty one. + // if (!pn.dir.empty ()) - pn.dir.normalize (); //@@ NORM (empty) + pn.dir.normalize (false, true); // Find or insert. // |