Browse Source

* Add writing of file type

Michaël Van Canneyt 2 tuần trước cách đây
mục cha
commit
e1c7c23976

+ 2 - 0
packages/fcl-passrc/src/paswrite.pp

@@ -344,6 +344,8 @@ begin
     Add(AType.GetDeclaration(true))
     Add(AType.GetDeclaration(true))
   else if AType is TPasRangeType then
   else if AType is TPasRangeType then
     Add(AType.GetDeclaration(true))
     Add(AType.GetDeclaration(true))
+  else if AType is TPasFileType then
+    Add(AType.GetDeclaration(true))
   else
   else
     raise EPasWriter.CreateFmt('Writing not implemented for %s type nodes',[aType.ElementTypeName]);
     raise EPasWriter.CreateFmt('Writing not implemented for %s type nodes',[aType.ElementTypeName]);
   if Full then
   if Full then