mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 19:50:20 +02:00
* Print unit name, flush output in status messages
This commit is contained in:
parent
065ddfd8d4
commit
1ef1481488
@ -250,9 +250,10 @@ begin
|
|||||||
(status.currentline mod 100=0) then
|
(status.currentline mod 100=0) then
|
||||||
begin
|
begin
|
||||||
if status.currentline>0 then
|
if status.currentline>0 then
|
||||||
Write(status.currentline,' ');
|
Write(status.currentmodule,':',status.currentline,' ');
|
||||||
hstatus:=GetFPCHeapStatus;
|
hstatus:=GetFPCHeapStatus;
|
||||||
WriteLn(DStr(hstatus.CurrHeapUsed shr 10),'/',DStr(hstatus.CurrHeapSize shr 10),' Kb Used');
|
WriteLn(DStr(hstatus.CurrHeapUsed shr 10),'/',DStr(hstatus.CurrHeapSize shr 10),' Kb Used');
|
||||||
|
flush(output);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
{$ifdef macos}
|
{$ifdef macos}
|
||||||
|
Loading…
Reference in New Issue
Block a user