mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 01:38:17 +02:00
codetools: support hint modifiers not separated with semicolons as shown in FPC r32985 #207d40aab6, issue #29461.
git-svn-id: trunk@51396 -
This commit is contained in:
parent
7758c1e4ae
commit
3fc41dac19
@ -3505,9 +3505,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