mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:16:05 +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;
|
||||
if Result<1 then exit;
|
||||
if Result>length(ASource) then exit;
|
||||
p:=PChar(ASource);
|
||||
p:=@ASource[Result];
|
||||
case p^ of
|
||||
'/':
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user