mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 11:59:25 +02:00
IDE: fpc msg parser: fetch include path before starting thread
git-svn-id: trunk@45151 -
This commit is contained in:
parent
4665cd1889
commit
8a1caa1d87
@ -981,6 +981,10 @@ begin
|
||||
LoadMsgFile(MsgFilename,MsgFile);
|
||||
if TranslationFilename<>'' then
|
||||
LoadMsgFile(TranslationFilename,TranslationFile);
|
||||
|
||||
fIncPathValidForWorkerDir:=Tool.WorkerDirectory;
|
||||
fIncPath:=CodeToolBoss.GetIncludePathForDirectory(
|
||||
ChompPathDelim(fIncPathValidForWorkerDir));
|
||||
end;
|
||||
|
||||
procedure TIDEFPCParser.InitReading;
|
||||
@ -1003,7 +1007,6 @@ begin
|
||||
fLastWorkerImprovedMessage[false]:=-1;
|
||||
fLastWorkerImprovedMessage[true]:=-1;
|
||||
|
||||
fIncPathValidForWorkerDir:='-';
|
||||
FreeAndNil(DirectoryStack);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user