mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 01:29:31 +02:00
codetools: support const modifiers not separated with semicolons, bug #30244
git-svn-id: branches/fixes_1_6@52446 -
This commit is contained in:
parent
736731c7b1
commit
d1fb44a761
@ -3515,9 +3515,11 @@ begin
|
||||
ReadConstant(true,false,[]);
|
||||
CurNode.EndPos:=CurPos.StartPos;
|
||||
end;
|
||||
EndChildNode;
|
||||
if IsModifier then // support modifiers not separated with semicolons: "faVolumeId = $00000008 platform deprecated;"
|
||||
continue;
|
||||
if not (CurPos.Flag in AllowedAtomsBehind) then
|
||||
SaveRaiseCharExpectedButAtomFound(';');
|
||||
EndChildNode;
|
||||
if CurPos.Flag<>cafSemicolon then
|
||||
break;
|
||||
ReadNextAtom;
|
||||
|
Loading…
Reference in New Issue
Block a user