IDE: simplified code

git-svn-id: trunk@41328 -
This commit is contained in:
mattias 2013-05-20 15:12:23 +00:00
parent e06d6d07ee
commit e9e769f8b2

View File

@ -2263,8 +2263,8 @@ begin
if IncludeSelf then begin
Result:=ParseOpts.MacroValues.Variables;
if ParseOpts.MacroValuesStamp=BuildMacroChangeStamp then exit;
if ParseOpts.MacroValuesStamp<>BuildMacroChangeStamp then begin
// compute macro values
if ParseOpts.MacroValuesParsing then begin
@ -2305,11 +2305,10 @@ begin
finally
ParseOpts.MacroValuesParsing:=false;
end;
end;
end else begin
Result:=ParseOpts.InheritedMacroValues;
if ParseOpts.InheritedMacroValuesStamp=BuildMacroChangeStamp then exit;
if ParseOpts.InheritedMacroValuesStamp<>BuildMacroChangeStamp then begin
// compute inherited values
if ParseOpts.InheritedMacroValuesParsing then begin
if ConsoleVerbosity>=0 then
@ -2337,7 +2336,6 @@ begin
end;
end;
end;
end;
procedure TBuildManager.AppendMatrixCustomOption(Sender: TObject;
var Options: string; Types: TBuildMatrixGroupTypes);