Parcourir la source

* always add a fileextension to the package name so that packages with dotted names are handled correctly

git-svn-id: trunk@34231 -
svenbarth il y a 9 ans
Parent
commit
cb5f582f94
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      compiler/fpcp.pas

+ 2 - 1
compiler/fpcp.pas

@@ -411,7 +411,8 @@ implementation
     constructor tpcppackage.create(const pn: string);
     begin
       inherited create(pn);
-      setfilename(pn,true);
+
+      setfilename(pn+'.ppk',true);
     end;
 
   destructor tpcppackage.destroy;