* fixed webbug 1268 ("merged")

This commit is contained in:
Jonas Maebe 2000-12-05 15:19:50 +00:00
parent a8af566cd7
commit 779e5fb7e9

View File

@ -331,8 +331,10 @@ implementation
{ remove calln node } { remove calln node }
tcallnode(left).right:=nil; tcallnode(left).right:=nil;
left.free; left.free;
left:=hp; { first do firstpass, then assignment in case hp }
{ gets changed by firstpass (JM) }
firstpass(hp); firstpass(hp);
left:=hp;
include(flags,nf_procvarload); include(flags,nf_procvarload);
end; end;
end; end;
@ -343,6 +345,8 @@ implementation
derefn : derefn :
begin begin
firstpass(hp); firstpass(hp);
{ in case hp gets changed by firstpass (JM) }
left := hp;
if codegenerror then if codegenerror then
exit; exit;
if hp.resulttype^.deftype=procvardef then if hp.resulttype^.deftype=procvardef then
@ -869,7 +873,10 @@ implementation
end. end.
{ {
$Log$ $Log$
Revision 1.11 2000-11-29 00:30:34 florian Revision 1.12 2000-12-05 15:19:50 jonas
* fixed webbug 1268 ("merged")
Revision 1.11 2000/11/29 00:30:34 florian
* unused units removed from uses clause * unused units removed from uses clause
* some changes for widestrings * some changes for widestrings