aboutsummaryrefslogtreecommitdiff
path: root/build/rule-map
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-03 17:20:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-03 17:20:15 +0200
commit6298f309bddaf3f279a724034e2d1d3ce58e0e1a (patch)
treec41d46641fbc8789cb851a9f08649b0381c96b64 /build/rule-map
parente6126827072270ab41efd91741f4c22f3eac4bc8 (diff)
Clean up rule names
Diffstat (limited to 'build/rule-map')
-rw-r--r--build/rule-map8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/rule-map b/build/rule-map
index d262ecd..74d1cfc 100644
--- a/build/rule-map
+++ b/build/rule-map
@@ -68,6 +68,14 @@ namespace build
class rule_map
{
public:
+
+ template <typename T>
+ void
+ insert (action_id a, const char* hint, rule& r)
+ {
+ insert<T> (a >> 4, a & 0x0F, hint, r);
+ }
+
template <typename T>
void
insert (meta_operation_id mid, operation_id oid, const char* hint, rule& r)