Parcourir la source

Merged revisions 699 via svnmerge from
/trunk

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

peter il y a 20 ans
Parent
commit
4348e80c10
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 }