codetools: fixed findbasetypenode alias endless loop

git-svn-id: trunk@30757 -
This commit is contained in:
mattias 2011-05-16 06:57:13 +00:00
parent fb3fd816b7
commit 23c34d4e8a

View File

@ -3527,6 +3527,7 @@ var
end;
if AliasContext.Node.Cache is TBaseTypeCache then begin
Cache:=TBaseTypeCache(AliasContext.Node.Cache);
if AliasContext.Node=Cache.NextNode then break;
AliasContext.Node:=Cache.NextNode;
AliasContext.Tool:=TFindDeclarationTool(Cache.NextTool);
end else