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

Diff for /mandoc/tree.c between version 1.74 and 1.77

version 1.74, 2017/04/24 23:06:18 version 1.77, 2017/07/08 14:51:05
Line 202  print_mdoc(const struct roff_node *n, int indent)
Line 202  print_mdoc(const struct roff_node *n, int indent)
         }          }
   
         if (n->eqn)          if (n->eqn)
                 print_box(n->eqn->root->first, indent + 4);                  print_box(n->eqn->first, indent + 4);
         if (n->child)          if (n->child)
                 print_mdoc(n->child, indent +                  print_mdoc(n->child, indent +
                     (n->type == ROFFT_BLOCK ? 2 : 4));                      (n->type == ROFFT_BLOCK ? 2 : 4));
Line 287  print_man(const struct roff_node *n, int indent)
Line 287  print_man(const struct roff_node *n, int indent)
         }          }
   
         if (n->eqn)          if (n->eqn)
                 print_box(n->eqn->root->first, indent + 4);                  print_box(n->eqn->first, indent + 4);
         if (n->child)          if (n->child)
                 print_man(n->child, indent +                  print_man(n->child, indent +
                     (n->type == ROFFT_BLOCK ? 2 : 4));                      (n->type == ROFFT_BLOCK ? 2 : 4));
Line 313  print_box(const struct eqn_box *ep, int indent)
Line 313  print_box(const struct eqn_box *ep, int indent)
   
         t = NULL;          t = NULL;
         switch (ep->type) {          switch (ep->type) {
         case EQN_ROOT:  
                 t = "eqn-root";  
                 break;  
         case EQN_LISTONE:  
         case EQN_LIST:          case EQN_LIST:
                 t = "eqn-list";                  t = "eqn-list";
                 break;                  break;

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.77

CVSweb