aboutsummaryrefslogtreecommitdiff
path: root/build/rule-map
diff options
context:
space:
mode:
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)