mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 13:19:20 +02:00
codetools: fixed range check in TLinkScanner.SkipTillEndifElse
git-svn-id: trunk@31198 -
This commit is contained in:
parent
efd0eebe51
commit
3e75caa3ae
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user