[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.350 and 1.351

version 1.350, 2017/07/20 12:54:02 version 1.351, 2017/07/31 15:19:06
Line 1931  post_root(POST_ARGS)
Line 1931  post_root(POST_ARGS)
         /* Check that we begin with a proper `Sh'. */          /* Check that we begin with a proper `Sh'. */
   
         n = mdoc->first->child;          n = mdoc->first->child;
         while (n != NULL && n->tok != TOKEN_NONE &&          while (n != NULL && n->tok >= MDOC_Dd &&
             mdoc_macros[n->tok].flags & MDOC_PROLOGUE)              mdoc_macros[n->tok].flags & MDOC_PROLOGUE)
                 n = n->next;                  n = n->next;
   

Legend:
Removed from v.1.350  
changed lines
  Added in v.1.351

CVSweb