Bläddra i källkod

* Fix writing array types

git-svn-id: trunk@46283 -
michael 5 år sedan
förälder
incheckning
10c4e3f6fc
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      packages/fcl-passrc/src/pastree.pp

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

@@ -4242,7 +4242,7 @@ begin
     if GenericTemplateTypes<>nil then
       Result:=Result+GenericTemplateTypesAsString(GenericTemplateTypes)+' = '+Result
     else
-      Result:=Result+' = '+Result;
+      Result:=SafeName+' = '+Result;
     end;
   If (IndexRange<>'') then
     Result:=Result+'['+IndexRange+']';