Selaa lähdekoodia

* partial fix for Mantis #37253: po_hascallingconvention needs to be set as well when setting tprocdef.proccalloption

git-svn-id: trunk@45692 -
svenbarth 5 vuotta sitten
vanhempi
commit
56fdba2c9b
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      compiler/pdecsub.pas

+ 1 - 0
compiler/pdecsub.pas

@@ -2374,6 +2374,7 @@ begin
     pd.proccalloption:=pocall_cdecl
   else
     pd.proccalloption:=pocall_stdcall;
+  include(pd.procoptions,po_hascallingconvention);
 end;