mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 12:19:18 +02:00
* Made check for message file TP compilable.
This commit is contained in:
parent
e72ff5f936
commit
c02ecc3513
@ -243,8 +243,16 @@ begin
|
||||
if not(msg=nil) then
|
||||
dispose(msg,Done);
|
||||
msg:=new(pmessage,InitExtern(fn,ord(endmsgconst)));
|
||||
{$IFDEF TP}
|
||||
if msg=nil then
|
||||
begin
|
||||
writeln('Fatal: Cannot find error message file.');
|
||||
halt(3);
|
||||
end;
|
||||
{$ELSE}
|
||||
if msg=nil then
|
||||
msg:=new(pmessage,Init(@msgtxt,ord(endmsgconst)));
|
||||
{$ENDIF TP}
|
||||
end;
|
||||
|
||||
|
||||
@ -508,7 +516,10 @@ end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.48 2000-03-01 22:29:18 peter
|
||||
Revision 1.49 2000-03-12 08:24:45 daniel
|
||||
* Made check for message file TP compilable.
|
||||
|
||||
Revision 1.48 2000/03/01 22:29:18 peter
|
||||
* message files are check for amount of msgs found. If not correct a
|
||||
line is written to stdout and switched to internal messages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user