fix: correctly compute nameSpace in TextHighlighter::getVariableTypeName()

This commit is contained in:
iTrooz
2025-12-25 18:48:00 +01:00
parent 691b56b4ac
commit 39b43cec2d

View File

@@ -1718,7 +1718,7 @@ namespace hex::plugin::builtin {
std::string nameSpace; std::string nameSpace;
while (peek(tkn::Operator::ScopeResolution)) { while (peek(tkn::Operator::ScopeResolution)) {
next(-1); next(-1);
nameSpace.insert(0, "::" + typeStr); nameSpace.insert(0, "::");
nameSpace.insert(0, getValue<Token::Identifier>(0)->get()); nameSpace.insert(0, getValue<Token::Identifier>(0)->get());
next(-1); next(-1);
} }