mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 05:40:24 +02:00
IDE: don't show define and undefine options (-d, -u) in all options GUI.
git-svn-id: trunk@42266 -
This commit is contained in:
parent
7c8559a56e
commit
a0e94b7c8f
@ -418,9 +418,10 @@ end;
|
||||
function IsIgnoredOption(aOpt: string): Boolean;
|
||||
begin
|
||||
if Length(aOpt) < 2 then Exit(False);
|
||||
// Ignore : all file names and paths
|
||||
// executable path
|
||||
Result := aOpt[2] in ['F', 'e'];
|
||||
// Ignore : * all file names and paths
|
||||
// * executable path
|
||||
// * define and undefine
|
||||
Result := aOpt[2] in ['F', 'e', 'd', 'u'];
|
||||
end;
|
||||
|
||||
{ TCompilerOpt }
|
||||
|
Loading…
Reference in New Issue
Block a user