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

Diff for /mandoc/tree.c between version 1.52 and 1.53

version 1.52, 2014/04/20 16:46:05 version 1.53, 2014/07/02 07:10:38
Line 160  print_mdoc(const struct mdoc_node *n, int indent)
Line 160  print_mdoc(const struct mdoc_node *n, int indent)
                 putchar(' ');                  putchar(' ');
                 if (MDOC_LINE & n->flags)                  if (MDOC_LINE & n->flags)
                         putchar('*');                          putchar('*');
                 printf("%d:%d", n->line, n->pos);                  printf("%d:%d", n->line, n->pos + 1);
                 if (n->lastline != n->line)                  if (n->lastline != n->line)
                         printf("-%d", n->lastline);                          printf("-%d", n->lastline);
                 putchar('\n');                  putchar('\n');
Line 250  print_man(const struct man_node *n, int indent)
Line 250  print_man(const struct man_node *n, int indent)
                 printf("%s (%s) ", p, t);                  printf("%s (%s) ", p, t);
                 if (MAN_LINE & n->flags)                  if (MAN_LINE & n->flags)
                         putchar('*');                          putchar('*');
                 printf("%d:%d\n", n->line, n->pos);                  printf("%d:%d\n", n->line, n->pos + 1);
         }          }
   
         if (n->child)          if (n->child)
Line 292  print_box(const struct eqn_box *ep, int indent)
Line 292  print_box(const struct eqn_box *ep, int indent)
         assert(t);          assert(t);
         printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n",          printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n",
             t, EQN_DEFSIZE == ep->size ? 0 : ep->size,              t, EQN_DEFSIZE == ep->size ? 0 : ep->size,
             ep->pos, ep->font, ep->mark, ep->pile,              ep->pos + 1, ep->font, ep->mark, ep->pile,
             ep->left ? ep->left : "",              ep->left ? ep->left : "",
             ep->right ? ep->right : "",              ep->right ? ep->right : "",
             ep->text ? ep->text : "");              ep->text ? ep->text : "");

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

CVSweb