mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 21:45:55 +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,[]);
|
ReadConstant(true,false,[]);
|
||||||
CurNode.EndPos:=CurPos.StartPos;
|
CurNode.EndPos:=CurPos.StartPos;
|
||||||
end;
|
end;
|
||||||
|
EndChildNode;
|
||||||
|
if IsModifier then // support modifiers not separated with semicolons: "faVolumeId = $00000008 platform deprecated;"
|
||||||
|
continue;
|
||||||
if not (CurPos.Flag in AllowedAtomsBehind) then
|
if not (CurPos.Flag in AllowedAtomsBehind) then
|
||||||
SaveRaiseCharExpectedButAtomFound(';');
|
SaveRaiseCharExpectedButAtomFound(';');
|
||||||
EndChildNode;
|
|
||||||
if CurPos.Flag<>cafSemicolon then
|
if CurPos.Flag<>cafSemicolon then
|
||||||
break;
|
break;
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
|
Loading…
Reference in New Issue
Block a user