Explorar o código

* add the C-prefix to the exported name of routines that are automatically
exported in {$z+} state in MacPas mode, so that the name chosen by
implicit imports in MacPas units without an implementation section matches
again after r16330 (fixes tests/test/tmacpas1 after r16330 on targets
with a cprefix<>'')

git-svn-id: trunk@16403 -

Jonas Maebe %!s(int64=15) %!d(string=hai) anos
pai
achega
a631ab2a7e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/pdecsub.pas

+ 1 - 1
compiler/pdecsub.pas

@@ -2677,7 +2677,7 @@ const
       begin
         if (m_mac in current_settings.modeswitches) and (cs_externally_visible in current_settings.localswitches) then
           begin
-            tprocdef(pd).aliasnames.insert(tprocdef(pd).procsym.realname);
+            tprocdef(pd).aliasnames.insert(target_info.Cprefix+tprocdef(pd).procsym.realname);
             include(pd.procoptions,po_public);
             include(pd.procoptions,po_has_public_name);
             include(pd.procoptions,po_global);