Browse Source

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

git-svn-id: trunk@25640 -
marco 12 years ago
parent
commit
6ace630c6f
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

@@ -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