|
@@ -5202,6 +5202,8 @@ implementation
|
|
|
begin
|
|
|
pd:=search_system_proc(procname);
|
|
|
pd.init_paraloc_info(callerside);
|
|
|
+ if systemunit<>current_module.globalsymtable then
|
|
|
+ current_module.addimportedsym(pd.procsym);
|
|
|
result:=g_call_system_proc_intern(list,pd,paras,forceresdef);
|
|
|
end;
|
|
|
|
|
@@ -5211,6 +5213,8 @@ implementation
|
|
|
override, if any, is g_call_system_proc_intern (and that none of
|
|
|
the g_call_system_proc variants should be made virtual) }
|
|
|
pd.init_paraloc_info(callerside);
|
|
|
+ if systemunit<>current_module.globalsymtable then
|
|
|
+ current_module.addimportedsym(pd.procsym);
|
|
|
result:=g_call_system_proc_intern(list,pd,paras,forceresdef);
|
|
|
end;
|
|
|
|