소스 검색

* Print unit name, flush output in status messages

Michaël Van Canneyt 6 달 전
부모
커밋
1ef1481488
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      compiler/comphook.pas

+ 2 - 1
compiler/comphook.pas

@@ -250,9 +250,10 @@ begin
         (status.currentline mod 100=0) then
        begin
          if status.currentline>0 then
-           Write(status.currentline,' ');
+           Write(status.currentmodule,':',status.currentline,' ');
          hstatus:=GetFPCHeapStatus;
          WriteLn(DStr(hstatus.CurrHeapUsed shr 10),'/',DStr(hstatus.CurrHeapSize shr 10),' Kb Used');
+         flush(output);
        end;
    end;
 {$ifdef macos}