- ActionMap::const_iterator begin = actions.lower_bound(StatementKey(key.keyword, string()));
- ActionMap::const_iterator end = actions.upper_bound(StatementKey(key.keyword, "~"));
+ if(!actions)
+ return 0;
+
+ auto begin = actions->lower_bound(StatementKey(key.keyword, string()));
+ auto end = actions->upper_bound(StatementKey(key.keyword, "~"));