[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.27 and 1.29

version 1.27, 2009/07/12 16:34:16 version 1.29, 2009/07/12 16:41:33
Line 1153  post_sh_body(POST_ARGS)
Line 1153  post_sh_body(POST_ARGS)
 {  {
         struct mdoc_node *n;          struct mdoc_node *n;
   
         if (SEC_NAME != mdoc->lastnamed)          if (SEC_NAME != mdoc->lastsec)
                 return(1);                  return(1);
   
         /*          /*
Line 1167  post_sh_body(POST_ARGS)
Line 1167  post_sh_body(POST_ARGS)
   
         for ( ; n && n->next; n = n->next) {          for ( ; n && n->next; n = n->next) {
                 if (MDOC_ELEM == n->type && MDOC_Nm == n->tok)                  if (MDOC_ELEM == n->type && MDOC_Nm == n->tok)
                           continue;
                   if (MDOC_TEXT == n->type)
                         continue;                          continue;
                 if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC))                  if ( ! mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC))
                         return(0);                          return(0);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.29

CVSweb