mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 17:55:55 +02:00
codetools: fixed FindClassAndAncestors when classes parsed the first time
git-svn-id: trunk@20968 -
This commit is contained in:
parent
0affd4a878
commit
0dadadf245
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user