[BACK]Return to mdoc_validate.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_validate.c between version 1.42 and 1.43

version 1.42, 2010/02/18 02:11:26 version 1.43, 2010/03/02 00:38:59
Line 269 
Line 269 
         { NULL, posts_notext },                 /* br */          { NULL, posts_notext },                 /* br */
         { NULL, posts_sp },                     /* sp */          { NULL, posts_sp },                     /* sp */
         { NULL, posts_text1 },                  /* %U */          { NULL, posts_text1 },                  /* %U */
           { NULL, NULL },                         /* eos */
 };  };
   
   
Line 904 
Line 905 
                 return(1);                  return(1);
   
         for (n = mdoc->last->child; n; n = n->next)          for (n = mdoc->last->child; n; n = n->next)
                 if (MDOC_TEXT != n->type)                  if (MDOC_TEXT != n->type &&
                       (MDOC_ELEM != n->type || MDOC_eos != n->tok))
                         if ( ! mdoc_nwarn(mdoc, n, EBADCHILD))                          if ( ! mdoc_nwarn(mdoc, n, EBADCHILD))
                                 return(0);                                  return(0);
   

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43