[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.289 and 1.290

version 1.289, 2015/04/19 14:25:41 version 1.290, 2015/04/20 09:48:53
Line 1562  post_root(POST_ARGS)
Line 1562  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 && mdoc_macros[n->tok].flags & MDOC_PROLOGUE)          while (n != NULL && n->tok != TOKEN_NONE &&
               mdoc_macros[n->tok].flags & MDOC_PROLOGUE)
                 n = n->next;                  n = n->next;
   
         if (n == NULL)          if (n == NULL)

Legend:
Removed from v.1.289  
changed lines
  Added in v.1.290

CVSweb