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

Diff for /mandoc/mdoc_term.c between version 1.315 and 1.316

version 1.315, 2015/04/02 22:48:17 version 1.316, 2015/04/02 23:48:20
Line 43  struct termpair {
Line 43  struct termpair {
   
 #define DECL_ARGS struct termp *p, \  #define DECL_ARGS struct termp *p, \
                   struct termpair *pair, \                    struct termpair *pair, \
                   const struct mdoc_meta *meta, \                    const struct roff_meta *meta, \
                   struct roff_node *n                    struct roff_node *n
   
 struct  termact {  struct  termact {
Line 58  static void   print_bvspace(struct termp *,
Line 58  static void   print_bvspace(struct termp *,
                         const struct roff_node *);                          const struct roff_node *);
 static  void      print_mdoc_node(DECL_ARGS);  static  void      print_mdoc_node(DECL_ARGS);
 static  void      print_mdoc_nodelist(DECL_ARGS);  static  void      print_mdoc_nodelist(DECL_ARGS);
 static  void      print_mdoc_head(struct termp *, const void *);  static  void      print_mdoc_head(struct termp *, const struct roff_meta *);
 static  void      print_mdoc_foot(struct termp *, const void *);  static  void      print_mdoc_foot(struct termp *, const struct roff_meta *);
 static  void      synopsis_pre(struct termp *,  static  void      synopsis_pre(struct termp *,
                         const struct roff_node *);                          const struct roff_node *);
   
Line 253  static const struct termact termacts[MDOC_MAX] = {
Line 253  static const struct termact termacts[MDOC_MAX] = {
 void  void
 terminal_mdoc(void *arg, const struct mdoc *mdoc)  terminal_mdoc(void *arg, const struct mdoc *mdoc)
 {  {
         const struct mdoc_meta  *meta;          const struct roff_meta  *meta;
         struct roff_node        *n;          struct roff_node        *n;
         struct termp            *p;          struct termp            *p;
   
Line 407  print_mdoc_node(DECL_ARGS)
Line 407  print_mdoc_node(DECL_ARGS)
 }  }
   
 static void  static void
 print_mdoc_foot(struct termp *p, const void *arg)  print_mdoc_foot(struct termp *p, const struct roff_meta *meta)
 {  {
         const struct mdoc_meta *meta;  
         size_t sz;          size_t sz;
   
         meta = (const struct mdoc_meta *)arg;  
   
         term_fontrepl(p, TERMFONT_NONE);          term_fontrepl(p, TERMFONT_NONE);
   
         /*          /*
Line 459  print_mdoc_foot(struct termp *p, const void *arg)
Line 456  print_mdoc_foot(struct termp *p, const void *arg)
 }  }
   
 static void  static void
 print_mdoc_head(struct termp *p, const void *arg)  print_mdoc_head(struct termp *p, const struct roff_meta *meta)
 {  {
         const struct mdoc_meta  *meta;  
         char                    *volume, *title;          char                    *volume, *title;
         size_t                   vollen, titlen;          size_t                   vollen, titlen;
   
         meta = (const struct mdoc_meta *)arg;  
   
         /*          /*
          * The header is strange.  It has three components, which are           * The header is strange.  It has three components, which are

Legend:
Removed from v.1.315  
changed lines
  Added in v.1.316

CVSweb