[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.385 and 1.386

version 1.385, 2020/04/18 20:40:10 version 1.386, 2020/04/24 12:02:33
Line 2765  post_dt(POST_ARGS)
Line 2765  post_dt(POST_ARGS)
                 mandoc_msg(MANDOCERR_MSEC_BAD,                  mandoc_msg(MANDOCERR_MSEC_BAD,
                     nn->line, nn->pos, "Dt ... %s", nn->string);                      nn->line, nn->pos, "Dt ... %s", nn->string);
                 mdoc->meta.vol = mandoc_strdup(nn->string);                  mdoc->meta.vol = mandoc_strdup(nn->string);
         } else          } else {
                 mdoc->meta.vol = mandoc_strdup(cp);                  mdoc->meta.vol = mandoc_strdup(cp);
                   if (mdoc->filesec != '\0' &&
                       mdoc->filesec != *nn->string &&
                       *nn->string >= '1' && *nn->string <= '9')
                           mandoc_msg(MANDOCERR_MSEC_FILE, nn->line, nn->pos,
                               "*.%c vs Dt ... %c", mdoc->filesec, *nn->string);
           }
   
         /* Optional third argument: architecture. */          /* Optional third argument: architecture. */
   

Legend:
Removed from v.1.385  
changed lines
  Added in v.1.386

CVSweb