Commit ec2049c4 authored by Artur Wojcik's avatar Artur Wojcik
Browse files

matcher

parent 11f0f3f1
...@@ -308,6 +308,12 @@ struct matcher_result ...@@ -308,6 +308,12 @@ struct matcher_result
{ {
} }
instruction_container& operator=(const std::unordered_map<std::string, instruction_ref>& x)
{
ins_map = x;
return *this;
}
instruction_ref operator[](const std::string& name) const instruction_ref operator[](const std::string& name) const
{ {
auto it = ins_map.find(name); auto it = ins_map.find(name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment