mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 17:06:41 +02:00
Fix bug introduced in commit #47709, by only calling node_complexity if first pass was already done (bug report 38183)
git-svn-id: trunk@47720 -
This commit is contained in:
parent
9ac84262f6
commit
348be7657d
@ -896,7 +896,9 @@ implementation
|
||||
first:=false;
|
||||
write(t, i);
|
||||
end;
|
||||
write(t,'], cmplx = ',node_complexity(self));
|
||||
write(t,']');
|
||||
if (nf_pass1_done in flags) then
|
||||
write(t,', cmplx = ',node_complexity(self));
|
||||
end;
|
||||
|
||||
|
||||
@ -942,7 +944,8 @@ implementation
|
||||
Write(T, ',', i)
|
||||
end;
|
||||
|
||||
write(t,'" complexity="',node_complexity(self),'"');
|
||||
if (nf_pass1_done in flags) then
|
||||
write(t,'" complexity="',node_complexity(self),'"');
|
||||
end;
|
||||
|
||||
procedure tnode.XMLPrintNodeData(var T: Text);
|
||||
|
Loading…
Reference in New Issue
Block a user