codetools: fixed range check in TLinkScanner.SkipTillEndifElse

git-svn-id: trunk@31198 -
This commit is contained in:
mattias 2011-06-13 10:20:31 +00:00
parent efd0eebe51
commit 3e75caa3ae

View File

@ -3557,8 +3557,9 @@ begin
begin begin
// skip string constant // skip string constant
inc(p); inc(p);
while p^<>'''' do inc(p); while not (p^ in ['''',#0,#10,#13]) do inc(p);
inc(p); if p^='''' then
inc(p);
end; end;
#0: #0:
begin begin