[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.203 and 1.205

version 1.203, 2010/12/25 13:50:37 version 1.205, 2010/12/25 23:27:50
Line 1855  termp_quote_pre(DECL_ARGS)
Line 1855  termp_quote_pre(DECL_ARGS)
         case (MDOC_Bq):          case (MDOC_Bq):
                 term_word(p, "[");                  term_word(p, "[");
                 break;                  break;
         case (MDOC__T):  
                 /* FALLTHROUGH */  
         case (MDOC_Do):          case (MDOC_Do):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Dq):          case (MDOC_Dq):
Line 1867  termp_quote_pre(DECL_ARGS)
Line 1865  termp_quote_pre(DECL_ARGS)
         case (MDOC_Pq):          case (MDOC_Pq):
                 term_word(p, "(");                  term_word(p, "(");
                 break;                  break;
           case (MDOC__T):
                   /* FALLTHROUGH */
         case (MDOC_Qo):          case (MDOC_Qo):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Qq):          case (MDOC_Qq):
Line 1919  termp_quote_post(DECL_ARGS)
Line 1919  termp_quote_post(DECL_ARGS)
         case (MDOC_Bq):          case (MDOC_Bq):
                 term_word(p, "]");                  term_word(p, "]");
                 break;                  break;
         case (MDOC__T):  
                 /* FALLTHROUGH */  
         case (MDOC_Do):          case (MDOC_Do):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Dq):          case (MDOC_Dq):
Line 1931  termp_quote_post(DECL_ARGS)
Line 1929  termp_quote_post(DECL_ARGS)
         case (MDOC_Pq):          case (MDOC_Pq):
                 term_word(p, ")");                  term_word(p, ")");
                 break;                  break;
           case (MDOC__T):
                   /* FALLTHROUGH */
         case (MDOC_Qo):          case (MDOC_Qo):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case (MDOC_Qq):          case (MDOC_Qq):
Line 2148  termp__t_post(DECL_ARGS)
Line 2148  termp__t_post(DECL_ARGS)
          * If we're in an `Rs' and there's a journal present, then quote           * If we're in an `Rs' and there's a journal present, then quote
          * us instead of underlining us (for disambiguation).           * us instead of underlining us (for disambiguation).
          */           */
         if (n->parent && MDOC_Rs == n->parent->tok &&          if (n->parent && MDOC_Rs == n->parent->tok &&
                         n->parent->norm->Rs.titlejournal)                          n->parent->norm->Rs.child_J)
                 termp_quote_post(p, pair, m, n);                  termp_quote_post(p, pair, m, n);
   
         termp____post(p, pair, m, n);          termp____post(p, pair, m, n);
Line 2165  termp__t_pre(DECL_ARGS)
Line 2165  termp__t_pre(DECL_ARGS)
          * us instead of underlining us (for disambiguation).           * us instead of underlining us (for disambiguation).
          */           */
         if (n->parent && MDOC_Rs == n->parent->tok &&          if (n->parent && MDOC_Rs == n->parent->tok &&
                         n->parent->norm->Rs.titlejournal)                          n->parent->norm->Rs.child_J)
                 return(termp_quote_pre(p, pair, m, n));                  return(termp_quote_pre(p, pair, m, n));
   
         term_fontpush(p, TERMFONT_UNDER);          term_fontpush(p, TERMFONT_UNDER);

Legend:
Removed from v.1.203  
changed lines
  Added in v.1.205

CVSweb