mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 05:21:27 +02:00
codetools: fixed TPascalReaderTool.ProcNodeHasSpecifier ctnProcedureHead
git-svn-id: trunk@41504 -
This commit is contained in:
parent
957f9973d0
commit
38d3882f1f
@ -1260,6 +1260,8 @@ function TPascalReaderTool.ProcNodeHasSpecifier(ProcNode: TCodeTreeNode;
|
||||
begin
|
||||
Result:=false;
|
||||
if ProcNode=nil then exit;
|
||||
if ProcNode.Desc=ctnProcedureHead then
|
||||
ProcNode:=ProcNode.Parent;
|
||||
{$IFDEF CheckNodeTool}
|
||||
if ProcNode.Desc<>ctnProcedure then begin
|
||||
DebugLn(['TPascalReaderTool.ProcNodeHasSpecifier Desc=',ProcNode.DescAsString]);
|
||||
|
Loading…
Reference in New Issue
Block a user