[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.282 and 1.283

version 1.282, 2018/12/31 04:55:42 version 1.283, 2018/12/31 07:45:42
Line 336 
Line 336 
                         check_text(mdoc, n->line, n->pos, n->string);                          check_text(mdoc, n->line, n->pos, n->string);
                 if (np->tok != MDOC_Ql && np->tok != MDOC_Dl &&                  if (np->tok != MDOC_Ql && np->tok != MDOC_Dl &&
                     (np->tok != MDOC_Bd ||                      (np->tok != MDOC_Bd ||
                      (mdoc->flags & MDOC_LITERAL) == 0) &&                       (mdoc->flags & ROFF_NOFILL) == 0) &&
                     (np->tok != MDOC_It || np->type != ROFFT_HEAD ||                      (np->tok != MDOC_It || np->type != ROFFT_HEAD ||
                      np->parent->parent->norm->Bl.type != LIST_diag))                       np->parent->parent->norm->Bl.type != LIST_diag))
                         check_text_em(mdoc, n->line, n->pos, n->string);                          check_text_em(mdoc, n->line, n->pos, n->string);
Line 409 
Line 409 
 {  {
         char            *cp;          char            *cp;
   
         if (MDOC_LITERAL & mdoc->flags)          if (mdoc->flags & ROFF_NOFILL)
                 return;                  return;
   
         for (cp = p; NULL != (p = strchr(p, '\t')); p++)          for (cp = p; NULL != (p = strchr(p, '\t')); p++)

Legend:
Removed from v.1.282  
changed lines
  Added in v.1.283