mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-06 20:23:18 +01:00
+ print convnodeflags in printnodeinfo
git-svn-id: trunk@38679 -
This commit is contained in:
parent
4a3a64d8f4
commit
99a1cf89b3
@ -1021,9 +1021,24 @@ implementation
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure ttypeconvnode.printnodeinfo(var t : text);
|
procedure ttypeconvnode.printnodeinfo(var t : text);
|
||||||
|
var
|
||||||
|
first: Boolean;
|
||||||
|
i: ttypeconvnodeflag;
|
||||||
begin
|
begin
|
||||||
inherited printnodeinfo(t);
|
inherited printnodeinfo(t);
|
||||||
write(t,', convtype = ',convtype);
|
write(t,', convtype = ',convtype);
|
||||||
|
write(t,', convnodeflags = [');
|
||||||
|
first:=true;
|
||||||
|
for i:=low(ttypeconvnodeflag) to high(ttypeconvnodeflag) do
|
||||||
|
if i in convnodeflags then
|
||||||
|
begin
|
||||||
|
if not first then
|
||||||
|
write(t,',')
|
||||||
|
else
|
||||||
|
first:=false;
|
||||||
|
write(t,i);
|
||||||
|
end;
|
||||||
|
write(t,']');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user