codetools: fixed FindClassAndAncestors when classes parsed the first time

git-svn-id: trunk@20968 -
This commit is contained in:
mattias 2009-07-27 09:04:47 +00:00
parent 0affd4a878
commit 0dadadf245

View File

@ -4602,6 +4602,7 @@ begin
// ToDo: ppu, ppw, dcu
// search the ancestor name
BuildSubTreeForClass(ClassNode);
if (ClassNode.FirstChild<>nil)
and (ClassNode.FirstChild.Desc=ctnClassInheritance)
and (ClassNode.FirstChild.FirstChild<>nil) then begin