codetools: fixed GetSmartHint for unit

git-svn-id: trunk@37098 -
This commit is contained in:
mattias 2012-04-30 08:08:02 +00:00
parent b4ed549862
commit 15b8f2e5c3

View File

@ -2218,6 +2218,8 @@ begin
Result+='public ';
ctnClassPublished:
Result+='published ';
ctnClassClassVar:
Result+='class ';
else
break;
end;
@ -2227,8 +2229,6 @@ begin
end;
end;
if Node.Parent.Desc = ctnClassClassVar then
Result += 'class ';
if Node.Desc = ctnGenericName then
Node := Node.Parent;
case Node.Desc of