Ver Fonte

* Fix writing ranges (bug ID 37505)

git-svn-id: trunk@46302 -
michael há 5 anos atrás
pai
commit
09f36e3cc5
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      packages/fcl-passrc/src/paswrite.pp

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

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