2
0
Эх сурвалжийг харах

fcl-passrc: paswrite: prepare type section for enums and unresolved type ref.

git-svn-id: trunk@36786 -
maciej-izak 8 жил өмнө
parent
commit
c025e4cb61

+ 1 - 0
packages/fcl-passrc/src/paswrite.pp

@@ -150,6 +150,7 @@ end;
 
 procedure TPasWriter.WriteType(AType: TPasType);
 begin
+  PrepareDeclSection('type');
   if AType.ClassType = TPasUnresolvedTypeRef then
     wrt(AType.Name)
   else if AType.ClassType = TPasClassType then