codetools: fixed parsing invalid subrange

git-svn-id: trunk@9626 -
This commit is contained in:
mattias 2006-07-17 18:47:07 +00:00
parent c92b18ed82
commit 83fc712326

View File

@ -1731,6 +1731,8 @@ begin
cafEdgedBracketClose]
then
break;
if CurPos.StartPos>SrcLen then
RaiseCharExpectedButAtomFound(';');
if AtomIs('..') then begin
if RangeOpFound then
RaiseCharExpectedButAtomFound(';');