mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 15:21:18 +02:00
codetools: fix GroupLocalVariables for ranged types. Issue #29519
git-svn-id: trunk@51433 -
This commit is contained in:
parent
380b2f5724
commit
b36d8209aa
@ -1211,7 +1211,7 @@ begin
|
||||
begin
|
||||
if (VarNode.Desc = ctnVarDefinition) and Assigned(VarNode.LastChild) and
|
||||
(VarNode.LastChild.Desc = ctnIdentifier) and
|
||||
(CompareIdentifiers(PChar(VariableType), PChar(ExtractNode(VarNode.LastChild,[phpCommentsToSpace]))) = 0)
|
||||
(CompareTextIgnoringSpace(VariableType,ExtractNode(VarNode.LastChild,[phpCommentsToSpace]),False) = 0)
|
||||
then
|
||||
VarTypeNode := VarNode;
|
||||
VarNode := VarNode.PriorBrother;
|
||||
|
Loading…
Reference in New Issue
Block a user