Prechádzať zdrojové kódy

* use findunitsymtable() when checking the module id

git-svn-id: trunk@34344 -
svenbarth 9 rokov pred
rodič
commit
4a9eaf5317
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      compiler/hlcgobj.pas

+ 1 - 1
compiler/hlcgobj.pas

@@ -3479,7 +3479,7 @@ implementation
       result:=(tf_supports_packages in target_info.flags) and
                 (target_info.system in systems_indirect_var_imports) and
                 (cs_imported_data in current_settings.localswitches) and
-                (t.owner.moduleid<>current_module.moduleid);
+                (findunitsymtable(t.owner).moduleid<>current_module.moduleid);
     end;
 
   procedure thlcgobj.g_rangecheck(list: TAsmList; const l: tlocation; fromdef, todef: tdef);