mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 14:38:01 +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);
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user