mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 19:16:16 +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
|
||||
// skip string constant
|
||||
inc(p);
|
||||
while p^<>'''' do inc(p);
|
||||
inc(p);
|
||||
while not (p^ in ['''',#0,#10,#13]) do inc(p);
|
||||
if p^='''' then
|
||||
inc(p);
|
||||
end;
|
||||
#0:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user