tweak messages

This commit is contained in:
Basile Burg 2019-12-16 10:09:29 +01:00
parent 7be4884ee8
commit 3dcc1a87f0
2 changed files with 3 additions and 3 deletions

View File

@ -245,7 +245,7 @@ procedure TCompilersPaths.checkIfGlobalIsGlobal;
begin begin
if globalCompiler = DCompiler.global then if globalCompiler = DCompiler.global then
begin begin
raise Exception.Create('global compiler should not be set the DCompiler.global'); raise Exception.Create('global compiler should not be set to DCompiler.global');
globalCompiler := low(DCompiler); globalCompiler := low(DCompiler);
end; end;
end; end;

View File

@ -3016,7 +3016,7 @@ begin
if (s.length > 2) and (s[1..3] = '-of') then if (s.length > 2) and (s[1..3] = '-of') then
begin begin
lst.Delete(i); lst.Delete(i);
fMsgs.message('the option "-of" is not be handled in the runnable modules', fMsgs.message('the option "-of" is ignored when compiling a runnable modules',
fDoc, amcEdit, amkWarn); fDoc, amcEdit, amkWarn);
end end
else if s = '-c' then else if s = '-c' then
@ -3026,7 +3026,7 @@ begin
else else
begin begin
lst.Delete(i); lst.Delete(i);
fMsgs.message('the option "-c" is not be handled when a module is tested', fMsgs.message('the option "-c" is ignored when an individual module is tested',
fDoc, amcEdit, amkWarn); fDoc, amcEdit, amkWarn);
end; end;
end end