codetools: fixed endless loop parsing proc modifiers at end of source

This commit is contained in:
mattias 2025-01-30 09:24:07 +01:00
parent 572cc8bbf4
commit 89d494f909

View File

@ -1308,7 +1308,7 @@ begin
exit(false);
end;
MoveCursorToFirstProcSpecifier(ProcNode);
while (CurPos.StartPos<=ProcNode.FirstChild.EndPos) do begin
while (CurPos.StartPos<ProcNode.FirstChild.EndPos) do begin
if CurPos.Flag=cafSemicolon then begin
ReadNextAtom;
end else begin