fcl-passrc: paswrite: allow to write pointer type

git-svn-id: trunk@37179 -
This commit is contained in:
maciej-izak 2017-09-11 13:44:44 +00:00
parent 12f444c282
commit 532e256579

View File

@ -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');