[BACK]Return to tree.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/tree.c between version 1.65 and 1.67

version 1.65, 2015/04/18 16:06:41 version 1.67, 2015/09/26 00:54:04
Line 41  void
Line 41  void
 tree_mdoc(void *arg, const struct roff_man *mdoc)  tree_mdoc(void *arg, const struct roff_man *mdoc)
 {  {
   
         print_mdoc(mdoc_node(mdoc)->child, 0);          print_mdoc(mdoc->first->child, 0);
 }  }
   
 void  void
 tree_man(void *arg, const struct roff_man *man)  tree_man(void *arg, const struct roff_man *man)
 {  {
   
         print_man(man_node(man)->child, 0);          print_man(man->first->child, 0);
 }  }
   
 static void  static void
Line 98  print_mdoc(const struct roff_node *n, int indent)
Line 98  print_mdoc(const struct roff_node *n, int indent)
                 break;                  break;
         default:          default:
                 abort();                  abort();
                 /* NOTREACHED */  
         }          }
   
         switch (n->type) {          switch (n->type) {
Line 138  print_mdoc(const struct roff_node *n, int indent)
Line 137  print_mdoc(const struct roff_node *n, int indent)
                 break;                  break;
         default:          default:
                 abort();                  abort();
                 /* NOTREACHED */  
         }          }
   
         if (n->span) {          if (n->span) {
Line 212  print_man(const struct roff_node *n, int indent)
Line 210  print_man(const struct roff_node *n, int indent)
                 break;                  break;
         default:          default:
                 abort();                  abort();
                 /* NOTREACHED */  
         }          }
   
         switch (n->type) {          switch (n->type) {
Line 238  print_man(const struct roff_node *n, int indent)
Line 235  print_man(const struct roff_node *n, int indent)
                 break;                  break;
         default:          default:
                 abort();                  abort();
                 /* NOTREACHED */  
         }          }
   
         if (n->span) {          if (n->span) {

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.67

CVSweb