[BACK]Return to mdoc.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc.c between version 1.42 and 1.43

version 1.42, 2010/04/27 21:53:27 version 1.43, 2010/05/04 23:13:54
Line 810 
Line 810 
   
         /*          /*
          * Mark the end of a sentence, but be careful not to insert           * Mark the end of a sentence, but be careful not to insert
          * markers into reference blocks.           * markers into reference blocks and after ellipses in
            * function definitions.
          */           */
         n = m->last;          n = m->last;
         if (n->child)          if (n->child)
                 n = n->child;                  n = n->child;
         while (n->next)          while (n->next)
                 n = n->next;                  n = n->next;
         if (MDOC_TEXT == n->type && m->last->parent->tok != MDOC_Rs) {          if (MDOC_TEXT == n->type &&
               MDOC_Fn != n->parent->tok &&
               MDOC_Rs != m->last->parent->tok) {
                 t = n->string;                  t = n->string;
                 while (t[0] && t[1])                  while (t[0] && t[1])
                         t++;                          t++;

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43