Browse Source

+ print convnodeflags in printnodeinfo

git-svn-id: trunk@38679 -
nickysn 7 years ago
parent
commit
99a1cf89b3
1 changed files with 15 additions and 0 deletions
  1. 15 0
      compiler/ncnv.pas

+ 15 - 0
compiler/ncnv.pas

@@ -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;