Browse Source

* fix compilation with DEBUG_NODE_XML defined

Sven/Sarah Barth 3 years ago
parent
commit
0c9b622a74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/procdefutil.pas

+ 1 - 1
compiler/procdefutil.pas

@@ -818,7 +818,7 @@ implementation
 {$ifdef DEBUG_NODE_XML}
 {$ifdef DEBUG_NODE_XML}
           { Methods of generic classes don't get any code generated, so output
           { Methods of generic classes don't get any code generated, so output
             the node tree here }
             the node tree here }
-          if (df_generic in procdef.defoptions) then
+          if (df_generic in pi.procdef.defoptions) then
             pi.XMLPrintProc(True);
             pi.XMLPrintProc(True);
 {$endif DEBUG_NODE_XML}
 {$endif DEBUG_NODE_XML}
         end;
         end;