@@ -555,7 +555,7 @@ implementation
function node_complexity(p: tnode): cardinal;
begin
result := 0;
- while true do
+ while assigned(p) do
case p.nodetype of
temprefn,
@@ -639,6 +639,7 @@ implementation
tempdeleten,
ordconstn,
pointerconstn,
+ nothingn,
niln:
exit;
else