Browse Source

Merged revisions 699 via svnmerge from
/trunk

git-svn-id: branches/fixes_2_0@723 -

peter 20 năm trước cách đây
mục cha
commit
4348e80c10
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/ncal.pas

+ 1 - 1
compiler/ncal.pas

@@ -2236,7 +2236,7 @@ type
           addstatement(createstatement,funcretnode.getcopy);
         { consider it must not be inlined if called
           again inside the args or itself }
-        procdefinition.proccalloption:=pocall_default;
+        exclude(procdefinition.procoptions,po_inline);
         firstpass(createblock);
         include(procdefinition.procoptions,po_inline);
         { return inlined block }