From fd689eb883655dcb29e505b041cd02fac01f0bac Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Aug 2015 15:11:40 +0200 Subject: Dist module/meta-operation initial implementation --- build/b.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build/b.cxx') diff --git a/build/b.cxx b/build/b.cxx index 412fb12..38a944c 100644 --- a/build/b.cxx +++ b/build/b.cxx @@ -42,6 +42,7 @@ using namespace std; #include +#include #include #include #include @@ -94,6 +95,7 @@ main (int argc, char* argv[]) // Register builtin modules. // builtin_modules["config"] = &config::config_init; + builtin_modules["dist"] = &dist::dist_init; builtin_modules["bin"] = &bin::bin_init; builtin_modules["cxx"] = &cxx::cxx_init; builtin_modules["cli"] = &cli::cli_init; @@ -771,7 +773,7 @@ main (int argc, char* argv[]) action a (mid, pre_oid, oid); mif->match (a, tgs); - mif->execute (a, tgs); + mif->execute (a, tgs, true); // Run quiet. if (mif->operation_post != nullptr) mif->operation_post (pre_oid); @@ -788,7 +790,7 @@ main (int argc, char* argv[]) action a (mid, oid, 0); mif->match (a, tgs); - mif->execute (a, tgs); + mif->execute (a, tgs, false); if (post_oid != 0) { @@ -806,7 +808,7 @@ main (int argc, char* argv[]) action a (mid, post_oid, oid); mif->match (a, tgs); - mif->execute (a, tgs); + mif->execute (a, tgs, true); // Run quiet. if (mif->operation_post != nullptr) mif->operation_post (post_oid); -- cgit v1.1