Browse Source

* Fix writing ranges (bug ID 37505)

git-svn-id: trunk@46302 -
michael 5 years ago
parent
commit
09f36e3cc5
1 changed files with 2 additions and 0 deletions
  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))
     Add(AType.GetDeclaration(true))
   else if AType is TPasSetType then
   else if AType is TPasSetType then
     Add(AType.GetDeclaration(true))
     Add(AType.GetDeclaration(true))
+  else if AType is TPasRangeType 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