[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.101 and 1.103

version 1.101, 2010/06/27 17:53:27 version 1.103, 2010/07/01 21:44:47
Line 458  check_text(struct mdoc *mdoc, int line, int pos, char 
Line 458  check_text(struct mdoc *mdoc, int line, int pos, char 
 {  {
         int              c;          int              c;
   
           /*
            * FIXME: we absolutely cannot let \b get through or it will
            * destroy some assumptions in terms of format.
            */
   
         for ( ; *p; p++, pos++) {          for ( ; *p; p++, pos++) {
                 if ('\t' == *p) {                  if ('\t' == *p) {
                         if ( ! (MDOC_LITERAL & mdoc->flags))                          if ( ! (MDOC_LITERAL & mdoc->flags))
Line 538  pre_bl(PRE_ARGS)
Line 543  pre_bl(PRE_ARGS)
   
         if (MDOC_BLOCK != n->type) {          if (MDOC_BLOCK != n->type) {
                 assert(n->parent);                  assert(n->parent);
                   if (ENDBODY_NOT != n->end)
                           return(1);
                 assert(MDOC_BLOCK == n->parent->type);                  assert(MDOC_BLOCK == n->parent->type);
                 assert(MDOC_Bl == n->parent->tok);                  assert(MDOC_Bl == n->parent->tok);
                 assert(LIST__NONE != n->parent->data.Bl.type);                  assert(LIST__NONE != n->parent->data.Bl.type);

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.103

CVSweb