فهرست منبع

* copy tcallnode.fforcedprocname field

git-svn-id: trunk@27740 -
Jonas Maebe 11 سال پیش
والد
کامیت
9f6d6f4aa8
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      compiler/ncal.pas

+ 4 - 0
compiler/ncal.pas

@@ -1359,6 +1359,10 @@ implementation
          end
          end
         else
         else
          n.varargsparas:=nil;
          n.varargsparas:=nil;
+        if assigned(fforcedprocname) then
+          n.fforcedprocname:=stringdup(fforcedprocname^)
+        else
+          n.fforcedprocname:=nil;
         result:=n;
         result:=n;
       end;
       end;