Browse Source

+ added call to g_maybe_checkforexceptions after generating call to fpc_iocheck

Nikolay Nikolov 3 years ago
parent
commit
074ce9c50f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/ncgcal.pas

+ 1 - 0
compiler/ncgcal.pas

@@ -1375,6 +1375,7 @@ implementation
             not(po_virtualmethod in procdefinition.procoptions) then
            begin
               hlcg.g_call_system_proc(current_asmdata.CurrAsmList,'fpc_iocheck',[],nil).resetiftemp;
+              hlcg.g_maybe_checkforexceptions(current_asmdata.CurrAsmList);
            end;
       end;