mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 23:29:13 +02:00
No advanced records
git-svn-id: trunk@47511 -
This commit is contained in:
parent
5354cf2a61
commit
132186a5aa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user