mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 07:30:54 +00:00
Support the pause-on-errors feature for format checker messages.
This commit is contained in:
parent
ecff1e3479
commit
7493ffa76c
10
Printf.pas
10
Printf.pas
@ -65,6 +65,9 @@ type
|
||||
|
||||
types = set of baseTypeEnum;
|
||||
|
||||
function KeyPress: boolean; extern; {in Scanner.asm}
|
||||
|
||||
|
||||
|
||||
function FormatClassify {fname: stringPtr): fmt_type};
|
||||
{
|
||||
@ -900,6 +903,13 @@ while head <> nil do begin
|
||||
dispose(head);
|
||||
head := args;
|
||||
end;
|
||||
|
||||
{handle pauses}
|
||||
if ((error_count <> 0) and wait) or KeyPress then begin
|
||||
DrawHourglass;
|
||||
while not KeyPress do {nothing};
|
||||
ClearHourglass;
|
||||
end; {if}
|
||||
end; {FormatCheck}
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user