mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 14:58:13 +02:00
Jedi code format: Fix issue #41011, bad format of comments before class var
(cherry picked from commit 109012f8f7
)
This commit is contained in:
parent
501f6f9ab6
commit
a82057a3cf
@ -283,6 +283,10 @@ begin
|
||||
if (pt.TokenType = ttClass) and pt.HasParentNode([nProperty],1) then
|
||||
exit(True);
|
||||
|
||||
{start of class var/threadvar}
|
||||
if (pt.TokenType = ttClass) and (pt.NextSolidTokenType in [ttVar, ttThreadVar] ) then
|
||||
exit(True);
|
||||
|
||||
{ start of class function decl in class }
|
||||
if (pt.TokenType = ttClass) and pt.HasParentNode([nProcedureDecl, nFunctionDecl, nProperty]) and
|
||||
(not IsGenericFunctionOrProperty(pt)) and
|
||||
|
Loading…
Reference in New Issue
Block a user