mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 01:08:07 +02:00
fcl-passrc: paswrite: prepare type section for enums and unresolved type ref.
git-svn-id: trunk@36786 -
This commit is contained in:
parent
031c28c58e
commit
c025e4cb61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user