mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 16:49:12 +02:00
IDE: checking compiled state: ignore -v flags
git-svn-id: trunk@36650 -
This commit is contained in:
parent
1d4a65f793
commit
236f6e9b29
@ -468,6 +468,7 @@ begin
|
|||||||
if (Reduced[StartPos]='-') and (StartPos<length(Reduced)) then begin
|
if (Reduced[StartPos]='-') and (StartPos<length(Reduced)) then begin
|
||||||
case Reduced[StartPos+1] of
|
case Reduced[StartPos+1] of
|
||||||
'F':
|
'F':
|
||||||
|
// search paths
|
||||||
if StartPos<length(Reduced)-1 then begin
|
if StartPos<length(Reduced)-1 then begin
|
||||||
Path:=copy(Reduced,StartPos+3,EndPos-StartPos-3);
|
Path:=copy(Reduced,StartPos+3,EndPos-StartPos-3);
|
||||||
if (Path<>'') and (Path[1] in ['''','"']) then
|
if (Path<>'') and (Path[1] in ['''','"']) then
|
||||||
@ -484,6 +485,14 @@ begin
|
|||||||
System.Delete(Reduced,StartPos,EndPos-StartPos);
|
System.Delete(Reduced,StartPos,EndPos-StartPos);
|
||||||
EndPos:=StartPos;
|
EndPos:=StartPos;
|
||||||
end;
|
end;
|
||||||
|
'v':
|
||||||
|
// verbosity
|
||||||
|
begin
|
||||||
|
while (EndPos<=length(Reduced)) and (Reduced[EndPos] in [' ',#9]) do
|
||||||
|
inc(EndPos);
|
||||||
|
System.Delete(Reduced,StartPos,EndPos-StartPos);
|
||||||
|
EndPos:=StartPos;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user