mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 04:29:11 +02:00
codetools: identifier completion: ignore parser errors when gathering keywords, bug #20919
git-svn-id: trunk@41886 -
This commit is contained in:
parent
8cc06e0b18
commit
7b17aaf0b3
@ -1637,6 +1637,7 @@ var
|
||||
p: Integer;
|
||||
NodeBehind: TCodeTreeNode;
|
||||
begin
|
||||
try
|
||||
Node:=Context.Node;
|
||||
//debugln(['TIdentCompletionTool.GatherContextKeywords ',Node.DescAsString]);
|
||||
|
||||
@ -1793,6 +1794,11 @@ begin
|
||||
CheckProperty(Node);
|
||||
|
||||
end;
|
||||
except
|
||||
// ignore parser errors
|
||||
on E: ECodeToolError do ;
|
||||
on E: ELinkScannerError do ;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TIdentCompletionTool.InitCollectIdentifiers(
|
||||
|
Loading…
Reference in New Issue
Block a user