codetools: fixed parsing }}, bug #11304

git-svn-id: trunk@15180 -
This commit is contained in:
mattias 2008-05-19 12:53:49 +00:00
parent 2005fcbedd
commit 5e981c6e48

View File

@ -887,9 +887,10 @@ begin
'}': '}':
begin begin
dec(CommentLvl); dec(CommentLvl);
inc(CurPos.StartPos); if CommentLvl=0 then begin
if CommentLvl=0 then inc(CurPos.StartPos);
break; break;
end;
end; end;
end; end;
end; end;