fix: Can't suggest members of variable defined by unname struct/union.

This commit is contained in:
Roy Qu 2023-08-13 22:19:56 +08:00
parent 7c8e567e1f
commit dcd53771d3
1 changed files with 2 additions and 2 deletions

View File

@ -2597,7 +2597,7 @@ void CppParser::handleEnum(bool isTypedef)
mIndex=indexOfNextSemicolon(i+1)+1;
return;
}
enumName = "__@enum@__"+enumName+"__";
enumName = "___enum___"+enumName+"__";
isAdhocVar=true;
}
}
@ -3825,7 +3825,7 @@ void CppParser::handleStructs(bool isTypedef)
getCurrentScope(),
mCurrentFile,
prefix,
"_@dummy@_"+command,
"___dummy___"+command,
"",
"",
"",