mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 19:16:16 +02:00
codetools: fixed loop in FindEnumInContext
git-svn-id: trunk@48281 -
This commit is contained in:
parent
76e7197049
commit
5e1973260e
@ -3628,8 +3628,8 @@ begin
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
OldContextNode:=Params.ContextNode;
|
||||
if OldContextNode.FirstChild<>nil then begin
|
||||
if CurContextNode.FirstChild<>nil then begin
|
||||
OldContextNode:=Params.ContextNode;
|
||||
Params.ContextNode:=CurContextNode;
|
||||
Result:=FindEnumInContext(Params);
|
||||
Params.ContextNode:=OldContextNode;
|
||||
|
Loading…
Reference in New Issue
Block a user