Explorar o código

* fixed compiler internal error, when compiling a unit that has an external function in its interface section

git-svn-id: branches/wasm@48421 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
eb7db76a31
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/wasm32/symcpu.pas

+ 1 - 0
compiler/wasm32/symcpu.pas

@@ -233,6 +233,7 @@ implementation
       prm: tcpuparavarsym;
       bt: TWasmBasicType;
     begin
+      init_paraloc_info(callerside);
       result:=TWasmFuncType.Create([],[]);
       if Assigned(paras) and (paras.Count>0) then
         begin