mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 13:37:22 +01:00
IDE: auto fix pathdelims of make messages
git-svn-id: trunk@25874 -
This commit is contained in:
parent
8b125eb6a7
commit
cf38d711ab
@ -1541,7 +1541,8 @@ begin
|
||||
if (fMakeDirHistory=nil) then fMakeDirHistory:=TStringList.Create;
|
||||
fMakeDirHistory.Add(fCurrentDirectory);
|
||||
end;
|
||||
InternalSetCurrentDirectory(copy(s,i,length(s)-i));
|
||||
// the make tool uses unix paths under windows
|
||||
InternalSetCurrentDirectory(SetDirSeparators(copy(s,i,length(s)-i)));
|
||||
exit;
|
||||
end;
|
||||
// check for leaving directory
|
||||
@ -1565,7 +1566,7 @@ begin
|
||||
MsgStartPos:=BracketEnd+1;
|
||||
while (MsgStartPos<=length(s)) and (s[MsgStartPos]=' ') do inc(MsgStartPos);
|
||||
MakeMsg:=copy(s,MsgStartPos,length(s)-MsgStartPos+1);
|
||||
DoAddFilteredLine(s);
|
||||
DoAddFilteredLine(SetDirSeparators(s));
|
||||
if CompareText(copy(MakeMsg,1,5),'Error')=0 then
|
||||
if (ofoExceptionOnError in Options) then
|
||||
RaiseOutputFilterError(s);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user