浏览代码

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

git-svn-id: branches/wasm@48421 -
nickysn 4 年之前
父节点
当前提交
eb7db76a31
共有 1 个文件被更改,包括 1 次插入0 次删除
  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