mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
* fix for unitsym problem
This commit is contained in:
parent
0fc900da28
commit
0d11d01b8d
@ -338,10 +338,31 @@
|
|||||||
prevsym:=nil;
|
prevsym:=nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{ we need to remove it from the prevsym chain ! }
|
||||||
|
|
||||||
destructor tunitsym.done;
|
destructor tunitsym.done;
|
||||||
|
var pus,ppus : punitsym;
|
||||||
begin
|
begin
|
||||||
if assigned(unitsymtable) and (unitsymtable^.unitsym=@self) then
|
if assigned(unitsymtable) then
|
||||||
unitsymtable^.unitsym:=prevsym;
|
begin
|
||||||
|
ppus:=nil;
|
||||||
|
pus:=unitsymtable^.unitsym;
|
||||||
|
if pus=@self then
|
||||||
|
unitsymtable^.unitsym:=prevsym
|
||||||
|
else while assigned(pus) do
|
||||||
|
begin
|
||||||
|
if pus=@self then
|
||||||
|
begin
|
||||||
|
ppus^.prevsym:=prevsym;
|
||||||
|
break;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
ppus:=pus;
|
||||||
|
pus:=ppus^.prevsym;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
inherited done;
|
inherited done;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -1951,7 +1972,10 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.83 1999-04-28 06:02:13 florian
|
Revision 1.84 1999-05-04 16:05:13 pierre
|
||||||
|
* fix for unitsym problem
|
||||||
|
|
||||||
|
Revision 1.83 1999/04/28 06:02:13 florian
|
||||||
* changes of Bruessel:
|
* changes of Bruessel:
|
||||||
+ message handler can now take an explicit self
|
+ message handler can now take an explicit self
|
||||||
* typinfo fixed: sometimes the type names weren't written
|
* typinfo fixed: sometimes the type names weren't written
|
||||||
|
Loading…
Reference in New Issue
Block a user