fix: Can't suggest members of variable defined by unname struct/union.
This commit is contained in:
parent
7c8e567e1f
commit
dcd53771d3
|
@ -2597,7 +2597,7 @@ void CppParser::handleEnum(bool isTypedef)
|
||||||
mIndex=indexOfNextSemicolon(i+1)+1;
|
mIndex=indexOfNextSemicolon(i+1)+1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
enumName = "__@enum@__"+enumName+"__";
|
enumName = "___enum___"+enumName+"__";
|
||||||
isAdhocVar=true;
|
isAdhocVar=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3825,7 +3825,7 @@ void CppParser::handleStructs(bool isTypedef)
|
||||||
getCurrentScope(),
|
getCurrentScope(),
|
||||||
mCurrentFile,
|
mCurrentFile,
|
||||||
prefix,
|
prefix,
|
||||||
"_@dummy@_"+command,
|
"___dummy___"+command,
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
|
Loading…
Reference in New Issue