Browse Source

* getrange parameters from "var" to "out"

git-svn-id: trunk@5786 -
Jonas Maebe 18 years ago
parent
commit
912e1e13eb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/defutil.pas

+ 2 - 2
compiler/defutil.pas

@@ -206,7 +206,7 @@ interface
     {# Returns the range of def, where @var(l) is the low-range and @var(h) is
       the high-range.
     }
-    procedure getrange(def : tdef;var l : TConstExprInt;var h : TConstExprInt);
+    procedure getrange(def : tdef;out l, h : TConstExprInt);
 
     { type being a vector? }
     function is_vector(p : tdef) : boolean;
@@ -759,7 +759,7 @@ implementation
 
 
     { return the range from def in l and h }
-    procedure getrange(def : tdef;var l : TConstExprInt;var h : TConstExprInt);
+    procedure getrange(def : tdef;out l, h : TConstExprInt);
       begin
         case def.typ of
           orddef :