Browse Source

Until package PPU are stored inside the PCP we use .ppl.ppu as extension (instead of .ppu) to find the PPU files that were adjusted for usage in a package.

pmodules.pas, proc_package:
  * change the file extension of the new unit to .ppl.ppu from .ppu

git-svn-id: branches/svenbarth/packages@28853 -
svenbarth 10 years ago
parent
commit
18abc831eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pmodules.pas

+ 1 - 1
compiler/pmodules.pas

@@ -1580,7 +1580,7 @@ type
              uu:=tused_unit(usedunits.first);
              uu:=tused_unit(usedunits.first);
              while assigned(uu) do
              while assigned(uu) do
                begin
                begin
-                 RewritePPU(uu.u.ppufilename,uu.u.ppufilename);
+                 RewritePPU(uu.u.ppufilename,changefileext(uu.u.ppufilename,'.ppl.ppu'));
                  uu:=tused_unit(uu.next);
                  uu:=tused_unit(uu.next);
                end;
                end;