mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 09:51:50 +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);
|
procedure TPasWriter.WriteType(AType: TPasType);
|
||||||
begin
|
begin
|
||||||
|
PrepareDeclSection('type');
|
||||||
if AType.ClassType = TPasUnresolvedTypeRef then
|
if AType.ClassType = TPasUnresolvedTypeRef then
|
||||||
wrt(AType.Name)
|
wrt(AType.Name)
|
||||||
else if AType.ClassType = TPasClassType then
|
else if AType.ClassType = TPasClassType then
|
||||||
|
Loading…
Reference in New Issue
Block a user