No advanced records

git-svn-id: trunk@47511 -
This commit is contained in:
michael 2020-11-21 12:12:07 +00:00
parent 5354cf2a61
commit 132186a5aa

View File

@ -52,6 +52,7 @@ begin
FreeAndNil(FClassTree); FreeAndNil(FClassTree);
Inherited; Inherited;
end; end;
Function TClassTreeBuilder.BuildTree(AObjects : TStringList) : Integer; Function TClassTreeBuilder.BuildTree(AObjects : TStringList) : Integer;
Var Var
@ -62,6 +63,8 @@ begin
Result:=0; Result:=0;
AObjects.Sorted:=True; AObjects.Sorted:=True;
For I:=0 to AObjects.Count-1 do For I:=0 to AObjects.Count-1 do
// Advanced records
if AObjects.Objects[i] is TPasClassType then
begin begin
PC:=AObjects.Objects[i] as TPasClassType; PC:=AObjects.Objects[i] as TPasClassType;
If (PC.ObjKind=FObjectKind) and Not PC.IsForward then If (PC.ObjKind=FObjectKind) and Not PC.IsForward then