aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/parser.cxx b/build/parser.cxx
index 65be0bc..227e5b3 100644
--- a/build/parser.cxx
+++ b/build/parser.cxx
@@ -523,6 +523,8 @@ namespace build
p /= path ("buildfile");
}
+ level6 ([&]{trace (l) << "relative path " << p;});
+
// Determine new out_base.
//
dir_path out_base;
@@ -563,6 +565,8 @@ namespace build
if (p.relative ())
p = scope_->src_path () / p.leaf ();
+ level6 ([&]{trace (l) << "absolute path " << p;});
+
if (!root_->buildfiles.insert (p).second) // Note: may be "new" root.
{
level5 ([&]{trace (l) << "skipping already included " << p;});
@@ -1263,6 +1267,8 @@ namespace build
(dp1 != nullptr ? *dp1 : dir_path ()),
(tp1 != nullptr ? *tp1 : string ()),
n.value);
+
+ ns.back ().pair = n.pair;
}
count = lv.size ();