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

Diff for /mandoc/man_term.c between version 1.239 and 1.242

version 1.239, 2022/08/15 18:46:30 version 1.242, 2023/04/28 20:23:19
Line 83  static int    pre_SS(DECL_ARGS);
Line 83  static int    pre_SS(DECL_ARGS);
 static  int               pre_SY(DECL_ARGS);  static  int               pre_SY(DECL_ARGS);
 static  int               pre_TP(DECL_ARGS);  static  int               pre_TP(DECL_ARGS);
 static  int               pre_UR(DECL_ARGS);  static  int               pre_UR(DECL_ARGS);
 static  int               pre_abort(DECL_ARGS);  
 static  int               pre_alternate(DECL_ARGS);  static  int               pre_alternate(DECL_ARGS);
 static  int               pre_ign(DECL_ARGS);  static  int               pre_ign(DECL_ARGS);
 static  int               pre_in(DECL_ARGS);  static  int               pre_in(DECL_ARGS);
Line 103  static const struct man_term_act man_term_acts[MAN_MAX
Line 102  static const struct man_term_act man_term_acts[MAN_MAX
         { pre_SS, post_SH, 0 }, /* SS */          { pre_SS, post_SH, 0 }, /* SS */
         { pre_TP, post_TP, 0 }, /* TP */          { pre_TP, post_TP, 0 }, /* TP */
         { pre_TP, post_TP, 0 }, /* TQ */          { pre_TP, post_TP, 0 }, /* TQ */
         { pre_abort, NULL, 0 }, /* LP */          { pre_PP, NULL, 0 }, /* LP */
         { pre_PP, NULL, 0 }, /* PP */          { pre_PP, NULL, 0 }, /* PP */
         { pre_abort, NULL, 0 }, /* P */          { pre_PP, NULL, 0 }, /* P */
         { pre_IP, post_IP, 0 }, /* IP */          { pre_IP, post_IP, 0 }, /* IP */
         { pre_HP, post_HP, 0 }, /* HP */          { pre_HP, post_HP, 0 }, /* HP */
         { NULL, NULL, 0 }, /* SM */          { NULL, NULL, 0 }, /* SM */
Line 225  print_bvspace(struct termp *p, struct roff_node *n, in
Line 224  print_bvspace(struct termp *p, struct roff_node *n, in
                 term_vspace(p);                  term_vspace(p);
 }  }
   
   
 static int  static int
 pre_abort(DECL_ARGS)  
 {  
         abort();  
 }  
   
 static int  
 pre_ign(DECL_ARGS)  pre_ign(DECL_ARGS)
 {  {
         return 0;          return 0;
Line 910  print_man_node(DECL_ARGS)
Line 902  print_man_node(DECL_ARGS)
                     (p->flags & TERMP_NONEWLINE) == 0)                      (p->flags & TERMP_NONEWLINE) == 0)
                         term_newln(p);                          term_newln(p);
                 p->flags |= TERMP_BRNEVER;                  p->flags |= TERMP_BRNEVER;
         } else          } else {
                   if (n->flags & NODE_LINE)
                           term_tab_ref(p);
                 p->flags &= ~TERMP_BRNEVER;                  p->flags &= ~TERMP_BRNEVER;
           }
   
         if (n->flags & NODE_ID)          if (n->flags & NODE_ID)
                 term_tag_write(n, p->line);                  term_tag_write(n, p->line);
Line 948  print_man_node(DECL_ARGS)
Line 943  print_man_node(DECL_ARGS)
                 return;                  return;
         case ROFFT_TBL:          case ROFFT_TBL:
                 if (p->tbl.cols == NULL)                  if (p->tbl.cols == NULL)
                         term_vspace(p);                          term_newln(p);
                 term_tbl(p, n->span);                  term_tbl(p, n->span);
                 return;                  return;
         default:          default:

Legend:
Removed from v.1.239  
changed lines
  Added in v.1.242

CVSweb