codetools: fixed parsing #3 comment

git-svn-id: trunk@39929 -
This commit is contained in:
mattias 2013-01-21 18:18:44 +00:00
parent 583ff30428
commit 154e3f3567

View File

@ -284,8 +284,9 @@ begin
// codetools skip comment
inc(CurCommentPos);
while (CurCommentPos<CommentEnd) do begin
if (Src[CurCommentPos]=#3) and (CurCommentPos+1<CommentEnd)
and (Src[CurCommentPos]='}') then begin
if (Src[CurCommentPos]=#3)
and (CurCommentPos+1<CommentEnd) and (Src[CurCommentPos+1]='}')
then begin
inc(CurCommentPos,2);
break;
end;