cpp: this-> now shows private symbols too

git-svn-id: svn://ultimatepp.org/upp/trunk@8523 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-06-07 15:21:44 +00:00
parent be5a675cd0
commit e95b89bb35
2 changed files with 2 additions and 1 deletions

View file

@ -30,6 +30,7 @@ String GetStdDefs()
h = Split(ignore, ';');
for(int i = 0; i < h.GetCount(); i++)
defs << "#define " << h[i] << "\n";
defs << "#define NULL NULL";
return defs;
}

View file

@ -466,7 +466,7 @@ void AssistEditor::Assist()
Index<String> typeset = EvaluateExpressionType(parser, xp);
for(int i = 0; i < typeset.GetCount(); i++)
if(typeset[i].GetCount())
GatherItems(typeset[i], true, in_types, false);
GatherItems(typeset[i], xp[0] != "this", in_types, false);
}
else {
GatherItems(parser.current_scope, false, in_types, true);