mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-19 11:39:31 +01:00
codetools: fixed reading til statement end, bug #7970
git-svn-id: trunk@15208 -
This commit is contained in:
parent
a45d589f57
commit
49291a20cd
@ -2402,8 +2402,9 @@ begin
|
|||||||
UndoReadNextAtom;
|
UndoReadNextAtom;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
cafSemicolon, cafNone: exit;
|
cafSemicolon: exit;
|
||||||
else
|
else
|
||||||
|
if CurPos.StartPos>SrcLen then exit;
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user