mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 14:19:17 +02:00
codetools: fixed endless loop parsing proc modifiers at end of source
This commit is contained in:
parent
572cc8bbf4
commit
89d494f909
@ -1308,7 +1308,7 @@ begin
|
|||||||
exit(false);
|
exit(false);
|
||||||
end;
|
end;
|
||||||
MoveCursorToFirstProcSpecifier(ProcNode);
|
MoveCursorToFirstProcSpecifier(ProcNode);
|
||||||
while (CurPos.StartPos<=ProcNode.FirstChild.EndPos) do begin
|
while (CurPos.StartPos<ProcNode.FirstChild.EndPos) do begin
|
||||||
if CurPos.Flag=cafSemicolon then begin
|
if CurPos.Flag=cafSemicolon then begin
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
end else begin
|
end else begin
|
||||||
|
Loading…
Reference in New Issue
Block a user