mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 02:59:51 +01:00
MG: fixed read constant with edged brackets
git-svn-id: trunk@1631 -
This commit is contained in:
parent
dd251efa47
commit
8a758c33e3
@ -2348,8 +2348,7 @@ begin
|
||||
and AtomIsKeyWord then
|
||||
SaveRaiseExceptionFmt(ctsStrExpectedButAtomFound,
|
||||
['constant',GetAtom]);
|
||||
until (CurPos.Flag in
|
||||
[cafSemicolon,cafRoundBracketClose,cafEdgedBracketClose]);
|
||||
until (CurPos.Flag in [cafSemicolon]);
|
||||
CurNode.EndPos:=CurPos.EndPos;
|
||||
EndChildNode;
|
||||
end else begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user