瀏覽代碼

* fix for #24947, writing index expression of property. Patch by Daniel Gaspary.

git-svn-id: trunk@25640 -
marco 12 年之前
父節點
當前提交
6ace630c6f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/fcl-passrc/src/paswrite.pp

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

@@ -404,6 +404,8 @@ begin
     wrt(': ');
     WriteType(AProp.VarType);
   end;
+  if AProp.IndexValue <> '' then
+    wrt(' index ' + AProp.IndexValue); 
   if AProp.ReadAccessorName <> '' then
     wrt(' read ' + AProp.ReadAccessorName);
   if AProp.WriteAccessorName <> '' then