Browse Source

- removed "const" from first parameter of check_configfile(), because that
routine is called with the same variable passed as the first and second
parameter, so the first one is not constand (since the second one is a
"var" para) -- this caused errors when compiling the compiler with -gt

git-svn-id: trunk@33202 -

Jonas Maebe 9 năm trước cách đây
mục cha
commit
741c91275a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -3147,7 +3147,7 @@ end;
                               Callable Routines
 ****************************************************************************}
 
-function check_configfile(const fn:string;var foundfn:string):boolean;
+function check_configfile(fn:string; var foundfn:string):boolean;
 
   function CfgFileExists(const fn:string):boolean;
   begin