Browse Source

* ppudump: Do not skip unnamed inline array type definitions such as "var arr: array of integer";

git-svn-id: trunk@25716 -
yury 12 năm trước cách đây
mục cha
commit
b293f7e5c4
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      compiler/utils/ppuutils/ppuout.pp

+ 0 - 6
compiler/utils/ppuutils/ppuout.pp

@@ -323,7 +323,6 @@ type
     Options: TPpuArrayOptions;
     constructor Create(AParent: TPpuContainerDef); override;
     destructor Destroy; override;
-    function CanWrite: boolean; override;
   end;
 
   { TPpuEnumDef }
@@ -764,11 +763,6 @@ begin
   inherited Destroy;
 end;
 
-function TPpuArrayDef.CanWrite: boolean;
-begin
-  Result:=inherited CanWrite and (Name <> '');
-end;
-
 { TPpuClassRefDef }
 
 procedure TPpuClassRefDef.WriteDef(Output: TPpuOutput);