mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 20:00:47 +02:00
Merged revision(s) 56085 #e69881ff9d from trunk:
Codetools: Fix code completion for methods with empty parentheses. Issue #31960. ........ git-svn-id: branches/fixes_1_8@56090 -
This commit is contained in:
parent
682a2912bd
commit
ee2f30dec1
@ -1401,9 +1401,8 @@ begin
|
||||
ExtractNextAtom(not (phpWithoutBrackets in Attr),Attr);
|
||||
if (CurPos.Flag in [cafRoundBracketClose,cafEdgedBracketClose])
|
||||
and (Src[CurPos.StartPos] = CloseBracket)
|
||||
then begin
|
||||
// opening bracket was not streamed, keep ExtractMemStream intact.
|
||||
ReadNextAtom;
|
||||
then begin // empty brackets: extract also the closing bracket.
|
||||
ExtractNextAtom(not (phpWithoutBrackets in Attr),Attr);
|
||||
exit(true);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user