codetools: fixed parsing constant of type

git-svn-id: trunk@24668 -
This commit is contained in:
mattias 2010-04-17 15:31:41 +00:00
parent b4e952229d
commit 5565573175

View File

@ -2839,7 +2839,7 @@ begin
and AtomIsKeyWord
then
RaiseCharExpectedButAtomFound(';');
until (CurPos.Flag in [cafSemicolon,cafNone]);
until (CurPos.Flag=cafSemicolon) or (CurPos.StartPos>SrcLen);
end;
// read ;
if CurPos.Flag<>cafSemicolon then