[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.294 and 1.295

version 1.294, 2014/11/27 16:20:31 version 1.295, 2014/11/27 22:27:56
Line 350  print_mdoc_node(DECL_ARGS)
Line 350  print_mdoc_node(DECL_ARGS)
                 term_tbl(p, n->span);                  term_tbl(p, n->span);
                 break;                  break;
         default:          default:
                 if (termacts[n->tok].pre && ENDBODY_NOT == n->end)                  if (termacts[n->tok].pre &&
                       (n->end == ENDBODY_NOT || n->nchild))
                         chld = (*termacts[n->tok].pre)                          chld = (*termacts[n->tok].pre)
                                 (p, &npair, meta, n);                                  (p, &npair, meta, n);
                 break;                  break;
Line 1917  static void
Line 1918  static void
 termp_quote_post(DECL_ARGS)  termp_quote_post(DECL_ARGS)
 {  {
   
         if (MDOC_BODY != n->type && MDOC_ELEM != n->type)          if (n->type != MDOC_BODY && n->type != MDOC_ELEM)
                 return;                  return;
   
         if (MDOC_En != n->tok)          if ( ! (n->tok == MDOC_En ||
               (n->tok == MDOC_Eo && n->end == ENDBODY_SPACE)))
                 p->flags |= TERMP_NOSPACE;                  p->flags |= TERMP_NOSPACE;
   
         switch (n->tok) {          switch (n->tok) {

Legend:
Removed from v.1.294  
changed lines
  Added in v.1.295

CVSweb