Explorar el Código

- 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 hace 9 años
padre
commit
741c91275a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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