Postpone setting of prevline to correct message when prevline not found

This commit is contained in:
Pierre Muller 2024-06-13 08:54:59 +02:00
parent 83d3a39417
commit c9260edb4f

View File

@ -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