mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 09:40:28 +02:00
codetools: fixed result, issue #35632
git-svn-id: branches/fixes_2_0@61374 -
This commit is contained in:
parent
028c96f490
commit
c41077d28a
@ -2579,8 +2579,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