aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 6e5aef9..d2ad368 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -423,7 +423,8 @@ main (int argc, char* argv[])
// Can modify params, opspec, change meta-operation name.
//
if (auto f = meta_operation_table[m].process)
- current_mname = &f (mparams, opspecs, lifted != nullptr, l);
+ current_mname = &f (
+ var_ovs, mparams, opspecs, lifted != nullptr, l);
}
}
}
@@ -508,9 +509,9 @@ main (int argc, char* argv[])
{
const string& v (tn.value);
- // Handle a few common cases as special: empty name, '.',
- // '..', as well as dir{foo/bar} (without trailing '/').
- // This code must be consistent with find_target_type().
+ // Handle a few common cases as special: empty name, '.', '..', as
+ // well as dir{foo/bar} (without trailing '/'). This code must be
+ // consistent with find_target_type() and other places.
//
if (v.empty () || v == "." || v == ".." || tn.type == "dir")
out_base = dir_path (v);