mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 05:32:35 +02:00
IDE: simplified code
git-svn-id: trunk@41328 -
This commit is contained in:
parent
e06d6d07ee
commit
e9e769f8b2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user