[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.191 and 1.196

version 1.191, 2010/09/27 23:03:44 version 1.196, 2010/12/05 15:37:30
Line 102  static int   termp_fl_pre(DECL_ARGS);
Line 102  static int   termp_fl_pre(DECL_ARGS);
 static  int       termp_fn_pre(DECL_ARGS);  static  int       termp_fn_pre(DECL_ARGS);
 static  int       termp_fo_pre(DECL_ARGS);  static  int       termp_fo_pre(DECL_ARGS);
 static  int       termp_ft_pre(DECL_ARGS);  static  int       termp_ft_pre(DECL_ARGS);
   static  int       termp_igndelim_pre(DECL_ARGS);
 static  int       termp_in_pre(DECL_ARGS);  static  int       termp_in_pre(DECL_ARGS);
 static  int       termp_it_pre(DECL_ARGS);  static  int       termp_it_pre(DECL_ARGS);
 static  int       termp_li_pre(DECL_ARGS);  static  int       termp_li_pre(DECL_ARGS);
Line 109  static int   termp_lk_pre(DECL_ARGS);
Line 110  static int   termp_lk_pre(DECL_ARGS);
 static  int       termp_nd_pre(DECL_ARGS);  static  int       termp_nd_pre(DECL_ARGS);
 static  int       termp_nm_pre(DECL_ARGS);  static  int       termp_nm_pre(DECL_ARGS);
 static  int       termp_ns_pre(DECL_ARGS);  static  int       termp_ns_pre(DECL_ARGS);
 static  int       termp_pf_pre(DECL_ARGS);  
 static  int       termp_quote_pre(DECL_ARGS);  static  int       termp_quote_pre(DECL_ARGS);
 static  int       termp_rs_pre(DECL_ARGS);  static  int       termp_rs_pre(DECL_ARGS);
 static  int       termp_rv_pre(DECL_ARGS);  static  int       termp_rv_pre(DECL_ARGS);
Line 196  static const struct termact termacts[MDOC_MAX] = {
Line 196  static const struct termact termacts[MDOC_MAX] = {
         { NULL, NULL }, /* Eo */          { NULL, NULL }, /* Eo */
         { termp_xx_pre, NULL }, /* Fx */          { termp_xx_pre, NULL }, /* Fx */
         { termp_bold_pre, NULL }, /* Ms */          { termp_bold_pre, NULL }, /* Ms */
         { NULL, NULL }, /* No */          { termp_igndelim_pre, NULL }, /* No */
         { termp_ns_pre, NULL }, /* Ns */          { termp_ns_pre, NULL }, /* Ns */
         { termp_xx_pre, NULL }, /* Nx */          { termp_xx_pre, NULL }, /* Nx */
         { termp_xx_pre, NULL }, /* Ox */          { termp_xx_pre, NULL }, /* Ox */
         { NULL, NULL }, /* Pc */          { NULL, NULL }, /* Pc */
         { termp_pf_pre, termp_pf_post }, /* Pf */          { termp_igndelim_pre, termp_pf_post }, /* Pf */
         { termp_quote_pre, termp_quote_post }, /* Po */          { termp_quote_pre, termp_quote_post }, /* Po */
         { termp_quote_pre, termp_quote_post }, /* Pq */          { termp_quote_pre, termp_quote_post }, /* Pq */
         { NULL, NULL }, /* Qc */          { NULL, NULL }, /* Qc */
Line 1584  termp_bd_pre(DECL_ARGS)
Line 1584  termp_bd_pre(DECL_ARGS)
                  * anyway, so don't sweat it.                   * anyway, so don't sweat it.
                  */                   */
                 switch (nn->tok) {                  switch (nn->tok) {
                   case (MDOC_Sm):
                           /* FALLTHROUGH */
                 case (MDOC_br):                  case (MDOC_br):
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                 case (MDOC_sp):                  case (MDOC_sp):
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                 case (MDOC_Bl):                  case (MDOC_Bl):
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                   case (MDOC_D1):
                           /* FALLTHROUGH */
                   case (MDOC_Dl):
                           /* FALLTHROUGH */
                 case (MDOC_Lp):                  case (MDOC_Lp):
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                 case (MDOC_Pp):                  case (MDOC_Pp):
Line 1655  termp_xx_pre(DECL_ARGS)
Line 1661  termp_xx_pre(DECL_ARGS)
         pp = NULL;          pp = NULL;
         switch (n->tok) {          switch (n->tok) {
         case (MDOC_Bsx):          case (MDOC_Bsx):
                 pp = "BSDI BSD/OS";                  pp = "BSD/OS";
                 break;                  break;
         case (MDOC_Dx):          case (MDOC_Dx):
                 pp = "DragonFly";                  pp = "DragonFly";
Line 1684  termp_xx_pre(DECL_ARGS)
Line 1690  termp_xx_pre(DECL_ARGS)
   
 /* ARGSUSED */  /* ARGSUSED */
 static int  static int
 termp_pf_pre(DECL_ARGS)  termp_igndelim_pre(DECL_ARGS)
 {  {
   
         p->flags |= TERMP_IGNDELIM;          p->flags |= TERMP_IGNDELIM;
Line 1697  static void
Line 1703  static void
 termp_pf_post(DECL_ARGS)  termp_pf_post(DECL_ARGS)
 {  {
   
         p->flags &= ~TERMP_IGNDELIM;  
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
 }  }
   
Line 2075  termp_lk_pre(DECL_ARGS)
Line 2080  termp_lk_pre(DECL_ARGS)
   
         nn = sv = n->child;          nn = sv = n->child;
   
         if (NULL == nn->next)          if (NULL == nn || NULL == nn->next)
                 return(1);                  return(1);
   
         for (nn = nn->next; nn; nn = nn->next)          for (nn = nn->next; nn; nn = nn->next)

Legend:
Removed from v.1.191  
changed lines
  Added in v.1.196

CVSweb