Browse Source

* applied patch by Pierre to fix make cycle -Cr

git-svn-id: trunk@48806 -
florian 4 years ago
parent
commit
857cbddf04
1 changed files with 4 additions and 1 deletions
  1. 4 1
      compiler/symdef.pas

+ 4 - 1
compiler/symdef.pas

@@ -4385,7 +4385,10 @@ implementation
 
         if (cachedelecount = 0) then
           begin
-            size := -1;
+            if ado_isconststring in arrayoptions then
+              size := 0
+            else
+              size := -1;
             exit;
           end;