mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 22:09:28 +02:00
Jedi code format: fix the var count for stats.
This commit is contained in:
parent
105219a3b7
commit
cbe87487db
@ -636,8 +636,7 @@ begin
|
||||
for liLoop := 0 to pcNode.ChildNodeCount - 1 do
|
||||
begin
|
||||
lcLeafItem := pcNode.ChildNodes[liLoop];
|
||||
if (lcLeafItem is TSourceToken) and
|
||||
(TSourceToken(lcLeafItem).TokenType = ttWord) then
|
||||
if (lcLeafItem <> nil) and (lcLeafItem.NodeType = nIdentifier) then
|
||||
Inc(Result);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user