[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.28 and 1.30

version 1.28, 2009/07/12 16:38:15 version 1.30, 2009/07/12 20:30:35
Line 1131  post_st(POST_ARGS)
Line 1131  post_st(POST_ARGS)
   
         if (mdoc_a2st(mdoc->last->child->string))          if (mdoc_a2st(mdoc->last->child->string))
                 return(1);                  return(1);
         return(mdoc_nwarn(mdoc, mdoc->last, EBADSTAND));          return(mdoc_nerr(mdoc, mdoc->last, EBADSTAND));
 }  }
   
   
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);
   
         /*          /*

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.30

CVSweb