diff options
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx index 6926ce3..2c21de3 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -2660,16 +2660,15 @@ namespace build2 scope* nrs (&create_bootstrap_inner (*rs, out_base)); if (rs != nrs) - { - load_root_pre (*nrs); // Load outer roots recursively. rs = nrs; - } } // Switch to the new root scope. // if (rs != root_) { + load_root_pre (*rs); // Load new root(s) recursively. + l5 ([&]{trace << "switching to root scope " << rs->out_path ();}); root_ = rs; } |