mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 02:55:54 +02:00
parent
ae53b22501
commit
d86e447ba3
@ -2597,8 +2597,10 @@ begin
|
||||
Result:=KeyWordFuncList.DoItCaseInsensitive(Src,CurPos.StartPos,
|
||||
CurPos.EndPos-CurPos.StartPos)
|
||||
else if c='[' then begin
|
||||
if [cmsPrefixedAttributes,cmsIgnoreAttributes]*Scanner.CompilerModeSwitches<>[] then
|
||||
ReadAttribute
|
||||
if [cmsPrefixedAttributes,cmsIgnoreAttributes]*Scanner.CompilerModeSwitches<>[] then begin
|
||||
ReadAttribute;
|
||||
Result:=true;
|
||||
end
|
||||
else begin
|
||||
Result:=ReadTilBracketClose(true);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user