Explorar el Código

* applied patch by Pierre to fix make cycle -Cr

git-svn-id: trunk@48806 -
florian hace 4 años
padre
commit
857cbddf04
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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;