mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 13:00:35 +02:00
codetools: fixed FindCommentEnd
git-svn-id: trunk@38203 -
This commit is contained in:
parent
aa0c04ced6
commit
752ae4ef0b
@ -1441,7 +1441,7 @@ begin
|
|||||||
Result:=StartPos;
|
Result:=StartPos;
|
||||||
if Result<1 then exit;
|
if Result<1 then exit;
|
||||||
if Result>length(ASource) then exit;
|
if Result>length(ASource) then exit;
|
||||||
p:=PChar(ASource);
|
p:=@ASource[Result];
|
||||||
case p^ of
|
case p^ of
|
||||||
'/':
|
'/':
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user