aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/init.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-20 13:46:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-03 14:35:45 +0200
commit934f2a9a90c5cad3cdc8a66b50c17827a3ddbcee (patch)
treef35f106e5369e98350327c79080c571195234c0b /build2/cli/init.cxx
parent280f4a5bf787587227ca193cd59c6bd74091db70 (diff)
Get rid of action rule override semantics
Instead we now have two more or less separate match states for outer and inner parts of an action.
Diffstat (limited to 'build2/cli/init.cxx')
-rw-r--r--build2/cli/init.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/cli/init.cxx b/build2/cli/init.cxx
index a4403a9..df123ba 100644
--- a/build2/cli/init.cxx
+++ b/build2/cli/init.cxx
@@ -23,7 +23,7 @@ namespace build2
{
namespace cli
{
- static const compile compile_;
+ static const compile_rule compile_rule_;
bool
config_init (scope& rs,
@@ -306,10 +306,10 @@ namespace build2
auto reg = [&r] (meta_operation_id mid, operation_id oid)
{
- r.insert<cli_cxx> (mid, oid, "cli.compile", compile_);
- r.insert<cxx::hxx> (mid, oid, "cli.compile", compile_);
- r.insert<cxx::cxx> (mid, oid, "cli.compile", compile_);
- r.insert<cxx::ixx> (mid, oid, "cli.compile", compile_);
+ r.insert<cli_cxx> (mid, oid, "cli.compile", compile_rule_);
+ r.insert<cxx::hxx> (mid, oid, "cli.compile", compile_rule_);
+ r.insert<cxx::cxx> (mid, oid, "cli.compile", compile_rule_);
+ r.insert<cxx::ixx> (mid, oid, "cli.compile", compile_rule_);
};
reg (perform_id, update_id);