mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 10:55:56 +02:00
codetools: fixed parsing constant of type
git-svn-id: trunk@24668 -
This commit is contained in:
parent
b4e952229d
commit
5565573175
@ -2839,7 +2839,7 @@ begin
|
|||||||
and AtomIsKeyWord
|
and AtomIsKeyWord
|
||||||
then
|
then
|
||||||
RaiseCharExpectedButAtomFound(';');
|
RaiseCharExpectedButAtomFound(';');
|
||||||
until (CurPos.Flag in [cafSemicolon,cafNone]);
|
until (CurPos.Flag=cafSemicolon) or (CurPos.StartPos>SrcLen);
|
||||||
end;
|
end;
|
||||||
// read ;
|
// read ;
|
||||||
if CurPos.Flag<>cafSemicolon then
|
if CurPos.Flag<>cafSemicolon then
|
||||||
|
Loading…
Reference in New Issue
Block a user