mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 08:19:29 +02:00
Codetools: Fix compilation of IFDEFed code.
This commit is contained in:
parent
de1c148c6e
commit
9007567a5e
@ -4426,8 +4426,8 @@ begin
|
|||||||
if NewItem=nil then exit;
|
if NewItem=nil then exit;
|
||||||
OldAVLNode:=FindItem(NewItem);
|
OldAVLNode:=FindItem(NewItem);
|
||||||
{$IFDEF ShowHistory}
|
{$IFDEF ShowHistory}
|
||||||
DebugLn('TIdentifierHistoryList.Add Count=',Count,' Found=',OldAVLNode<>nil,
|
DebugLn(['TIdentifierHistoryList.Add Count=',Count,' Found=',OldAVLNode<>nil,
|
||||||
' ITEM: ',NewItem.AsString);
|
' ITEM: ',NewItem.AsString]);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
if OldAVLNode<>nil then begin
|
if OldAVLNode<>nil then begin
|
||||||
// already in tree
|
// already in tree
|
||||||
@ -4457,7 +4457,7 @@ begin
|
|||||||
FItems.FreeAndDelete(FItems.FindHighest);
|
FItems.FreeAndDelete(FItems.FindHighest);
|
||||||
FItems.Add(NewHistItem);
|
FItems.Add(NewHistItem);
|
||||||
{$IFDEF ShowHistory}
|
{$IFDEF ShowHistory}
|
||||||
DebugLn('TIdentifierHistoryList.Added Count=',Count);
|
DebugLn(['TIdentifierHistoryList.Added Count=',Count]);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user