[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.340 and 1.341

version 1.340, 2017/06/24 14:38:33 version 1.341, 2017/06/24 15:59:50
Line 2584  out:
Line 2584  out:
          * the operating system earlier.           * the operating system earlier.
          */           */
   
           if (n->child != NULL)
                   mandoc_vmsg(MANDOCERR_OS_ARG, mdoc->parse,
                       n->child->line, n->child->pos,
                       "Os %s (%s)", n->child->string,
                       mdoc->meta.os_e == MANDOC_OS_OPENBSD ?
                       "OpenBSD" : "NetBSD");
   
         while (n->tok != MDOC_Dd)          while (n->tok != MDOC_Dd)
                 if ((n = n->prev) == NULL)                  if ((n = n->prev) == NULL)
                         return;                          return;

Legend:
Removed from v.1.340  
changed lines
  Added in v.1.341

CVSweb