Explorar o código

* Fixed GetDeclaration of TPasFileType

git-svn-id: trunk@7166 -
michael %!s(int64=18) %!d(string=hai) anos
pai
achega
d12c324f27
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/fcl-passrc/src/pastree.pp

+ 2 - 2
packages/fcl-passrc/src/pastree.pp

@@ -1128,9 +1128,9 @@ end;
 
 function TPasFileType.GetDeclaration (full : boolean) : string;
 begin
-  Result:='File of ';
+  Result:='File';
   If Assigned(Eltype) then
-    Result:=Result+ElType.Name;
+    Result:=Result+' of '+ElType.Name;
   If Full Then
     Result:=Name+' = '+Result;
 end;