[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.39 and 1.41

version 1.39, 2009/07/23 08:36:32 version 1.41, 2009/07/25 16:03:03
Line 912  post_an(POST_ARGS)
Line 912  post_an(POST_ARGS)
         if (mdoc->last->args) {          if (mdoc->last->args) {
                 if (NULL == mdoc->last->child)                  if (NULL == mdoc->last->child)
                         return(1);                          return(1);
                 return(mdoc_nerr(mdoc, mdoc->last, ELINE));                  return(mdoc_nerr(mdoc, mdoc->last, ENOLINE));
         }          }
   
         if (mdoc->last->child)          if (mdoc->last->child)
Line 1219  post_sh_body(POST_ARGS)
Line 1219  post_sh_body(POST_ARGS)
                         return(0);                          return(0);
         }          }
   
           assert(n);
         if (MDOC_BLOCK == n->type && MDOC_Nd == n->tok)          if (MDOC_BLOCK == n->type && MDOC_Nd == n->tok)
                 return(1);                  return(1);
         return(mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC));          return(mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC));

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.41

CVSweb