The changes in
d72d8a9 were not applied to the interfaces map of the
stage, but because those interfaces were unused anyway it only showed
up when doing an AST dump.
{
if(to_remove->count(&iface))
{
{
if(to_remove->count(&iface))
{
- remove_from_map(stage->interface_blocks, iface.name, iface);
+ remove_from_map(stage->interface_blocks, iface.interface+iface.name, iface);
if(!iface.instance_name.empty())
if(!iface.instance_name.empty())
- remove_from_map(stage->interface_blocks, iface.instance_name, iface);
+ remove_from_map(stage->interface_blocks, "_"+iface.instance_name, iface);
}
SetFlag set_recursive(recursive_remove, recursive_remove || to_remove->count(&iface));
TraversingVisitor::visit(iface);
}
SetFlag set_recursive(recursive_remove, recursive_remove || to_remove->count(&iface));
TraversingVisitor::visit(iface);