Bläddra i källkod

* Add writing of file type

Michaël Van Canneyt 1 vecka sedan
förälder
incheckning
e1c7c23976
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      packages/fcl-passrc/src/paswrite.pp

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

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