[BACK]Return to mdoc_validate.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc_validate.c between version 1.334 and 1.335

version 1.334, 2017/06/10 16:54:16 version 1.335, 2017/06/11 14:24:55
Line 184  static const v_post __mdoc_valids[MDOC_MAX - MDOC_Dd] 
Line 184  static const v_post __mdoc_valids[MDOC_MAX - MDOC_Dd] 
         NULL,           /* Eo */          NULL,           /* Eo */
         post_xx,        /* Fx */          post_xx,        /* Fx */
         post_delim,     /* Ms */          post_delim,     /* Ms */
         post_delim,     /* No */          NULL,           /* No */
         post_ns,        /* Ns */          post_ns,        /* Ns */
         post_xx,        /* Nx */          post_xx,        /* Nx */
         post_xx,        /* Ox */          post_xx,        /* Ox */
Line 481  post_delim(POST_ARGS)
Line 481  post_delim(POST_ARGS)
   
         /* At least three alphabetic words with a sentence ending. */          /* At least three alphabetic words with a sentence ending. */
         if (strchr("!.:?", *lc) != NULL && (tok == MDOC_Em ||          if (strchr("!.:?", *lc) != NULL && (tok == MDOC_Em ||
             tok == MDOC_Li || tok == MDOC_No || tok == MDOC_Po ||              tok == MDOC_Li || tok == MDOC_Po || tok == MDOC_Pq ||
             tok == MDOC_Pq || tok == MDOC_Sy)) {              tok == MDOC_Sy)) {
                 nw = 0;                  nw = 0;
                 for (cp = lc - 1; cp >= nch->string; cp--) {                  for (cp = lc - 1; cp >= nch->string; cp--) {
                         if (*cp == ' ') {                          if (*cp == ' ') {

Legend:
Removed from v.1.334  
changed lines
  Added in v.1.335

CVSweb