mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-28 15:11:43 +01:00
codetools: fixed parsing invalid subrange
git-svn-id: trunk@9626 -
This commit is contained in:
parent
c92b18ed82
commit
83fc712326
@ -1731,6 +1731,8 @@ begin
|
||||
cafEdgedBracketClose]
|
||||
then
|
||||
break;
|
||||
if CurPos.StartPos>SrcLen then
|
||||
RaiseCharExpectedButAtomFound(';');
|
||||
if AtomIs('..') then begin
|
||||
if RangeOpFound then
|
||||
RaiseCharExpectedButAtomFound(';');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user