mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 14:30:27 +02:00
fcl-passrc: paswrite: allow to write pointer type
git-svn-id: trunk@37179 -
This commit is contained in:
parent
12f444c282
commit
532e256579
@ -277,6 +277,8 @@ begin
|
|||||||
WriteRecordType(TPasRecordType(AType))
|
WriteRecordType(TPasRecordType(AType))
|
||||||
else if AType is TPasAliasType then
|
else if AType is TPasAliasType then
|
||||||
WriteAliasType(TPasAliasType(AType))
|
WriteAliasType(TPasAliasType(AType))
|
||||||
|
else if AType is TPasPointerType then
|
||||||
|
Add(AType.GetDeclaration(true))
|
||||||
else
|
else
|
||||||
raise EPasWriter.Create('Writing not implemented for ' +
|
raise EPasWriter.Create('Writing not implemented for ' +
|
||||||
AType.ElementTypeName + ' nodes');
|
AType.ElementTypeName + ' nodes');
|
||||||
|
Loading…
Reference in New Issue
Block a user