IDE: don't show define and undefine options (-d, -u) in all options GUI.

git-svn-id: trunk@42266 -
This commit is contained in:
juha 2013-08-02 12:07:47 +00:00
parent 7c8559a56e
commit a0e94b7c8f

View File

@ -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 }