1: # include   "../ingres.h"
   2: # include   "../tree.h"
   3: # include   "decomp.h"
   4: 
   5: 
   6: printree(p, string)
   7: struct querytree    *p;
   8: char            *string;
   9: {
  10: 
  11:     printf("%s: %l\n", string, p);
  12:     prtree1(p);
  13: }
  14: 
  15: prtree1(p)
  16: struct querytree *p;
  17: {
  18:     register struct querytree   *q;
  19: 
  20:     if ((q = p) == NULL)
  21:         return;
  22:     prtree1(q->left);
  23:     prtree1(q->right);
  24:     writenod(q);
  25: }
Last modified: 1980-12-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2505
Valid CSS Valid XHTML 1.0 Strict