mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 04:52:35 +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
|
||||
then
|
||||
RaiseCharExpectedButAtomFound(';');
|
||||
until (CurPos.Flag in [cafSemicolon,cafNone]);
|
||||
until (CurPos.Flag=cafSemicolon) or (CurPos.StartPos>SrcLen);
|
||||
end;
|
||||
// read ;
|
||||
if CurPos.Flag<>cafSemicolon then
|
||||
|
Loading…
Reference in New Issue
Block a user