mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 10:59:06 +02:00
IDE: ignore -vl and -vs options in all options parser.
git-svn-id: trunk@42254 -
This commit is contained in:
parent
5ca336a4a2
commit
7e0793d348
@ -676,6 +676,8 @@ procedure TCompilerOptSet.AddOptions(aDescr: string; aIndent: integer);
|
|||||||
var
|
var
|
||||||
OptSet: TCompilerOpt;
|
OptSet: TCompilerOpt;
|
||||||
begin
|
begin
|
||||||
|
// Ignore -vl and -vs
|
||||||
|
if (fOption = '-v') and (aDescr[1] in ['l', 's']) then Exit;
|
||||||
OptSet := TCompilerOpt.Create(Self); // Add it under a group
|
OptSet := TCompilerOpt.Create(Self); // Add it under a group
|
||||||
OptSet.fIndentation := aIndent;
|
OptSet.fIndentation := aIndent;
|
||||||
OptSet.fOption := aDescr[1];
|
OptSet.fOption := aDescr[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user