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

git-svn-id: trunk@36786 -
This commit is contained in:
maciej-izak 2017-07-25 13:28:05 +00:00
parent 031c28c58e
commit c025e4cb61

View File

@ -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