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

Diff for /mandoc/tree.c between version 1.81 and 1.83

version 1.81, 2018/12/12 21:54:35 version 1.83, 2018/12/30 00:49:56
Line 30 
Line 30 
 #include "mdoc.h"  #include "mdoc.h"
 #include "man.h"  #include "man.h"
 #include "tbl.h"  #include "tbl.h"
   #include "eqn.h"
 #include "main.h"  #include "main.h"
   
 static  void    print_box(const struct eqn_box *, int);  static  void    print_box(const struct eqn_box *, int);
Line 40  static void print_span(const struct tbl_span *, int);
Line 41  static void print_span(const struct tbl_span *, int);
   
   
 void  void
 tree_mdoc(void *arg, const struct roff_man *mdoc)  tree_mdoc(void *arg, const struct roff_meta *mdoc)
 {  {
         print_meta(&mdoc->meta);          print_meta(mdoc);
         putchar('\n');          putchar('\n');
         print_mdoc(mdoc->first->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_meta *man)
 {  {
         print_meta(&man->meta);          print_meta(man);
         if (man->meta.hasbody == 0)          if (man->hasbody == 0)
                 puts("body  = empty");                  puts("body  = empty");
         putchar('\n');          putchar('\n');
         print_man(man->first->child, 0);          print_man(man->first->child, 0);

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.83

CVSweb