|
@@ -1570,7 +1570,7 @@ type
|
|
begin
|
|
begin
|
|
{ add all contained units to the package }
|
|
{ add all contained units to the package }
|
|
{ TODO : handle implicitly imported units }
|
|
{ TODO : handle implicitly imported units }
|
|
- pkg:=tpcppackage.create(module_name);
|
|
|
|
|
|
+ pkg:=tpcppackage.create(current_module.modulename^);
|
|
uu:=tused_unit(current_module.used_units.first);
|
|
uu:=tused_unit(current_module.used_units.first);
|
|
while assigned(uu) do
|
|
while assigned(uu) do
|
|
begin
|
|
begin
|