mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-11-05 02:07:22 +00:00
TermError doesn't always initalize the error message. commonly seen with compile +T.
This commit is contained in:
parent
29de867039
commit
c2b24f2854
@ -929,7 +929,7 @@ var
|
||||
|
||||
begin {TermError}
|
||||
case errnum of {print the error}
|
||||
0 : ;
|
||||
0 : msg := '' ;
|
||||
1 : msg := concat('Error reading ', sourceFileGS.theString.theString);
|
||||
2 : msg := concat('Error purging ', sourceFileGS.theString.theString);
|
||||
3 : msg := 'terminal compiler error';
|
||||
@ -941,7 +941,10 @@ case errnum of {print the error}
|
||||
9 : msg := concat('Error writing ', objFile.theString.theString);
|
||||
10: msg := 'ORCA/C requires version 2.0 or later of the shell';
|
||||
11: msg := 'The program is too large to compile to memory -- use Compile to Disk';
|
||||
otherwise: Error(57);
|
||||
otherwise: begin
|
||||
msg := '';
|
||||
Error(57);
|
||||
end;
|
||||
end; {case}
|
||||
with ffDCBGS do begin {purge the source file}
|
||||
pCount := 5;
|
||||
|
Loading…
Reference in New Issue
Block a user