mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 16:09:16 +02:00
* Fix bug ID #0037516, only add extra uses to interface
git-svn-id: trunk@46311 -
This commit is contained in:
parent
d7ba09f543
commit
15cccf154a
@ -564,12 +564,13 @@ begin
|
|||||||
C:=0;
|
C:=0;
|
||||||
if ASection.UsesList.Count>0 then
|
if ASection.UsesList.Count>0 then
|
||||||
begin
|
begin
|
||||||
For I:=1 to WordCount(ExtraUnits,UnitSeps) do
|
if not (aSection is TImplementationSection) then
|
||||||
begin
|
For I:=1 to WordCount(ExtraUnits,UnitSeps) do
|
||||||
u:=Trim(ExtractWord(1,ExtraUnits,UnitSeps));
|
begin
|
||||||
if (U<>'') then
|
u:=Trim(ExtractWord(1,ExtraUnits,UnitSeps));
|
||||||
AddUnit(U,Nil);
|
if (U<>'') then
|
||||||
end;
|
AddUnit(U,Nil);
|
||||||
|
end;
|
||||||
if length(ASection.UsesClause)=ASection.UsesList.Count then
|
if length(ASection.UsesClause)=ASection.UsesList.Count then
|
||||||
begin
|
begin
|
||||||
for i := 0 to length(ASection.UsesClause)-1 do
|
for i := 0 to length(ASection.UsesClause)-1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user