Browse Source

* Fixed bug where a call node's intrinsic code
wasn't copied over during "DoGetCopy"

J. Gareth "Curious Kit" Moreton 1 year ago
parent
commit
d25d094d57
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/ncal.pas

+ 2 - 1
compiler/ncal.pas

@@ -1819,7 +1819,8 @@ implementation
         n.procdefinition:=procdefinition;
         n.typedef := typedef;
         n.callnodeflags := callnodeflags;
-        n.pushedparasize:=pushedparasize;
+        n.pushedparasize := pushedparasize;
+        n.intrinsiccode := intrinsiccode;
         if assigned(callinitblock) then
           n.callinitblock:=tblocknode(callinitblock.dogetcopy)
         else