瀏覽代碼

* missing import_name flag

git-svn-id: trunk@3256 -
peter 19 年之前
父節點
當前提交
d858a419c8
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      compiler/pdecsub.pas

+ 4 - 1
compiler/pdecsub.pas

@@ -1477,7 +1477,10 @@ begin
            end;
           { default is to used the realname of the procedure }
           if (import_nr=0) and not assigned(import_name) then
-            import_name:=stringdup(procsym.realname);
+            begin
+              import_name:=stringdup(procsym.realname);
+              include(procoptions,po_has_importname);
+            end;
         end
       else
         begin