mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 09:30:37 +02:00
codetools: fixed usesgraph addtargetunit
git-svn-id: trunk@60158 -
This commit is contained in:
parent
55867b798a
commit
4e3c76a735
@ -342,7 +342,7 @@ var
|
||||
NewUnit: TUGUnit;
|
||||
begin
|
||||
if ExpFilename='' then exit;
|
||||
if FQueuedFiles.FindKey(PChar(ExpFilename),@CompareFilenameAndUGUnit)<>nil then
|
||||
if FTargetFiles.FindKey(PChar(ExpFilename),@CompareFilenameAndUGUnit)<>nil then
|
||||
exit; // already a start file
|
||||
// add to FFiles and FTargetFiles
|
||||
//debugln(['TUsesGraph.AddTargetUnit ',ExpFilename]);
|
||||
|
Loading…
Reference in New Issue
Block a user