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

Diff for /src/usr.bin/mandoc/mdoc_macro.c between version 1.82 and 1.83

version 1.82, 2013/12/24 20:45:21 version 1.83, 2013/12/30 00:20:18
Line 1345 
Line 1345 
                 body = mdoc->last;                  body = mdoc->last;
         }          }
   
         for (n = body->child; n && n->next; n = n->next)  
                 /* Do nothing. */ ;  
   
         /*  
          * End of sentence spacing: if the last node is a text node and  
          * has a trailing period, then mark it as being end-of-sentence.  
          */  
   
         if (n && MDOC_TEXT == n->type && n->string)  
                 if (mandoc_eos(n->string, strlen(n->string), 1))  
                         n->flags |= MDOC_EOS;  
   
         /* Up-propagate the end-of-space flag. */  
   
         if (n && (MDOC_EOS & n->flags)) {  
                 body->flags |= MDOC_EOS;  
                 body->parent->flags |= MDOC_EOS;  
         }  
   
         /*          /*
          * If there is an open sub-block requiring explicit close-out,           * If there is an open sub-block requiring explicit close-out,
          * postpone closing out the current block           * postpone closing out the current block

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83