diff --git a/sparta/src/TreeNode.cpp b/sparta/src/TreeNode.cpp index 77e7d55219..0b01c7e577 100644 --- a/sparta/src/TreeNode.cpp +++ b/sparta/src/TreeNode.cpp @@ -2853,6 +2853,9 @@ TreeNode::ExtensionsBase * TreeNode::getExtension(const std::string & extension_ get_extension_names_from_node(extension_node); get_extension_names_from_node(arch_extension_node); + for(auto & ext : extensions_) { + extension_names_.insert(ext.first); + } return nullptr; } else { return nullptr;