MG: fixed read constant with edged brackets

git-svn-id: trunk@1631 -
This commit is contained in:
lazarus 2002-04-23 20:21:20 +00:00
parent dd251efa47
commit 8a758c33e3

View File

@ -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