瀏覽代碼

* Fix writing ranges (bug ID 37505)

git-svn-id: trunk@46302 -
michael 5 年之前
父節點
當前提交
09f36e3cc5
共有 1 個文件被更改,包括 2 次插入0 次删除
  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