[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.138 and 1.139

version 1.138, 2014/07/02 11:42:56 version 1.139, 2014/07/02 13:10:15
Line 1113 
Line 1113 
   
         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_nmsg(mdoc, n, MANDOCERR_CHILD);                          mandoc_msg(MANDOCERR_VT_CHILD, mdoc->parse,
                               n->line, n->pos, mdoc_macronames[n->tok]);
   
         return(1);          return(1);
 }  }
Line 1609 
Line 1610 
                         continue;                          continue;
                 }                  }
   
                 mdoc_nmsg(mdoc, nchild, MANDOCERR_CHILD);                  mandoc_msg(MANDOCERR_BL_MOVE, mdoc->parse,
                       nchild->line, nchild->pos,
                       mdoc_macronames[nchild->tok]);
   
                 /*                  /*
                  * Move the node out of the Bl block.                   * Move the node out of the Bl block.
Line 1778 
Line 1781 
                 }                  }
   
                 next = nn->next;                  next = nn->next;
                 mdoc_nmsg(mdoc, nn, MANDOCERR_CHILD);                  mandoc_msg(MANDOCERR_RS_SKIP, mdoc->parse,
                       nn->line, nn->pos, mdoc_macronames[nn->tok]);
                 mdoc_node_delete(mdoc, nn);                  mdoc_node_delete(mdoc, nn);
         }          }
   

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.139