IDE: default for macro FPCMsgFile: $(FPCSrcDir)/compiler/msg/errore.msg

git-svn-id: trunk@42185 -
This commit is contained in:
mattias 2013-07-23 21:13:43 +00:00
parent 2d493a3e4a
commit 08bdff7239

View File

@ -1780,6 +1780,9 @@ begin
Parsing:=true;
try
ParsedValue:=UnparsedValue;
if (ParsedValue='') and (o=eopCompilerMessagesFilename) then
ParsedValue:=SetDirSeparators('$(FPCSrcDir)/compiler/msg/errore.msg');
if not GlobalMacroList.SubstituteStr(ParsedValue) then begin
debugln(['TEnvironmentOptions.GetParsedValue failed for ',dbgs(o),' Value="',UnparsedValue,'"']);
end;