mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-29 10:31:35 +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]
|
cafEdgedBracketClose]
|
||||||
then
|
then
|
||||||
break;
|
break;
|
||||||
|
if CurPos.StartPos>SrcLen then
|
||||||
|
RaiseCharExpectedButAtomFound(';');
|
||||||
if AtomIs('..') then begin
|
if AtomIs('..') then begin
|
||||||
if RangeOpFound then
|
if RangeOpFound then
|
||||||
RaiseCharExpectedButAtomFound(';');
|
RaiseCharExpectedButAtomFound(';');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user