mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 06:28:55 +02:00
Postpone setting of prevline to correct message when prevline not found
This commit is contained in:
parent
83d3a39417
commit
c9260edb4f
@ -49,7 +49,6 @@ var
|
||||
begin
|
||||
if st=prevline then
|
||||
exit;
|
||||
prevline:=st;
|
||||
should_be_run:=next_should_be_run;
|
||||
if next_should_be_run and
|
||||
(pos(failed_to_run,st)<>1) and
|
||||
@ -60,6 +59,7 @@ begin
|
||||
begin
|
||||
Writeln('No run found for "',prevline,'"');
|
||||
end;
|
||||
prevline:=st;
|
||||
next_should_be_run:=false;
|
||||
if pos(failed_to_compile,st)=1 then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user