mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-09 19:39:51 +01:00
pastojs: clean up
git-svn-id: trunk@39454 -
This commit is contained in:
parent
127c3eccb8
commit
6d9cac3d1c
@ -563,10 +563,6 @@ type
|
|||||||
end;
|
end;
|
||||||
TPCUFilerElementRefArray = array of TPCUFilerElementRef;
|
TPCUFilerElementRefArray = array of TPCUFilerElementRef;
|
||||||
|
|
||||||
TPCUFilerElementRef2 = class(TPCUFilerElementRef)
|
|
||||||
s: string;
|
|
||||||
end;
|
|
||||||
|
|
||||||
{ TPCUFiler - base class TPCUWriter/TPCUReader}
|
{ TPCUFiler - base class TPCUWriter/TPCUReader}
|
||||||
|
|
||||||
TPCUFiler = class
|
TPCUFiler = class
|
||||||
@ -4611,8 +4607,7 @@ begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
Ref:=TPCUFilerElementRef2.Create;
|
Ref:=TPCUFilerElementRef.Create;
|
||||||
TPCUFilerElementRef2(Ref).s:=IntToStr(Id);
|
|
||||||
Ref.Id:=Id;
|
Ref.Id:=Id;
|
||||||
end;
|
end;
|
||||||
{$IF defined(VerbosePCUFiler) or defined(memcheck)}
|
{$IF defined(VerbosePCUFiler) or defined(memcheck)}
|
||||||
@ -4631,7 +4626,7 @@ begin
|
|||||||
{$IF defined(VerbosePCUFiler) or defined(memcheck)}
|
{$IF defined(VerbosePCUFiler) or defined(memcheck)}
|
||||||
Node:=FElementRefs.FindKey(El,@CompareElWithPCUFilerElementRef);
|
Node:=FElementRefs.FindKey(El,@CompareElWithPCUFilerElementRef);
|
||||||
if Node<>nil then
|
if Node<>nil then
|
||||||
RaiseMsg(20180711231646,El,GetObjName(TPCUFilerElementRef2(Node.Data).Element));
|
RaiseMsg(20180711231646,El,GetObjName(TPCUFilerElementRef(Node.Data).Element));
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
FElementRefs.Add(Ref);
|
FElementRefs.Add(Ref);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user