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

Diff for /mandoc/tree.c between version 1.70 and 1.71

version 1.70, 2017/01/10 12:53:08 version 1.71, 2017/01/10 13:47:00
Line 159  print_mdoc(const struct roff_node *n, int indent)
Line 159  print_mdoc(const struct roff_node *n, int indent)
                 }                  }
   
                 putchar(' ');                  putchar(' ');
                 if (MDOC_DELIMO & n->flags)                  if (NODE_DELIMO & n->flags)
                         putchar('(');                          putchar('(');
                 if (MDOC_LINE & n->flags)                  if (NODE_LINE & n->flags)
                         putchar('*');                          putchar('*');
                 printf("%d:%d", n->line, n->pos + 1);                  printf("%d:%d", n->line, n->pos + 1);
                 if (MDOC_DELIMC & n->flags)                  if (NODE_DELIMC & n->flags)
                         putchar(')');                          putchar(')');
                 if (MDOC_EOS & n->flags)                  if (NODE_EOS & n->flags)
                         putchar('.');                          putchar('.');
                 if (NODE_NOSRC & n->flags)                  if (NODE_NOSRC & n->flags)
                         printf(" NOSRC");                          printf(" NOSRC");
Line 252  print_man(const struct roff_node *n, int indent)
Line 252  print_man(const struct roff_node *n, int indent)
                 for (i = 0; i < indent; i++)                  for (i = 0; i < indent; i++)
                         putchar(' ');                          putchar(' ');
                 printf("%s (%s) ", p, t);                  printf("%s (%s) ", p, t);
                 if (MAN_LINE & n->flags)                  if (NODE_LINE & n->flags)
                         putchar('*');                          putchar('*');
                 printf("%d:%d", n->line, n->pos + 1);                  printf("%d:%d", n->line, n->pos + 1);
                 if (MAN_EOS & n->flags)                  if (NODE_EOS & n->flags)
                         putchar('.');                          putchar('.');
                 putchar('\n');                  putchar('\n');
         }          }

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71

CVSweb