codetools: fixed rename identifier

git-svn-id: trunk@26459 -
This commit is contained in:
mattias 2010-07-04 12:51:33 +00:00
parent 421757e81f
commit 6bbf89bd59

View File

@ -4023,8 +4023,8 @@ var
if Found and (Params.NewNode<>nil) then begin
UseProcHead(Params.NewNode);
//debugln('Context=',Params.NewNode.DescAsString,' ',dbgs(Params.NewNode.StartPos),' ',dbgs(DeclarationNode.StartPos));
if (Params.NewNode<>DeclarationNode)
and (Params.NewNode<>AliasDeclarationNode) then
if (Params.NewNode=DeclarationNode)
or (Params.NewNode=AliasDeclarationNode) then
AddReference(StartPos);
end;
end;