mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 12:49:28 +02:00
added Hakan Kizilhan to contributors
git-svn-id: trunk@14117 -
This commit is contained in:
parent
e79be37c3d
commit
f3b6a2f28c
@ -1631,9 +1631,6 @@ var
|
||||
ReadNextAtom;
|
||||
if AtomStart=Node.NextBrother.StartPos then begin
|
||||
// node is empty
|
||||
NextNode:=Node.NextBrother;
|
||||
if NextNode.Desc=cdnEnd then
|
||||
NextNode:=NextNode.NextSkipChilds;
|
||||
DebugLn(['TCompilerDirectivesTree.RemoveEmptyNodes node only contains spaces and comments ',GetDirective(Node)]);
|
||||
DisableIfNode(Node,true,Changed);
|
||||
end;
|
||||
@ -1645,9 +1642,12 @@ var
|
||||
|
||||
begin
|
||||
//DebugLn(['TCompilerDirectivesTree.RemoveEmptyNodes ']);
|
||||
// check nodes from end to start
|
||||
Node:=Tree.Root;
|
||||
while (Node.NextBrother<>nil) do Node:=Node.NextBrother;
|
||||
while (Node.LastChild<>nil) do Node:=Node.LastChild;
|
||||
while Node<>nil do begin
|
||||
NextNode:=Node.Next;
|
||||
NextNode:=Node.Prior;
|
||||
CheckNode;
|
||||
Node:=NextNode;
|
||||
end;
|
||||
|
@ -41,6 +41,7 @@ Giulio Bernardi
|
||||
GongYu
|
||||
Graeme Geldenhuys
|
||||
Grzegorz Zakrzewski
|
||||
Hakan Kizilhan
|
||||
Hans-Joachim Ott
|
||||
Hwang Weng Sun
|
||||
Ido Kanner
|
||||
|
Loading…
Reference in New Issue
Block a user