link_symbols_visitor improvements

This commit is contained in:
ProgramSnail 2023-05-02 16:51:47 +03:00
parent 496d3819d9
commit 0dc8880c58
5 changed files with 33 additions and 6 deletions

View file

@ -27,6 +27,8 @@ void GlobalInfo::NamespaceVisitor::AddEnterNamespace(const std::string& name,
namespace_stack_.push_back(namespace_info);
}
namespace_info->parent_namespace = namespace_stack_.back();
namespace_info->type_name = name;
current_path_.push_back(name);
}