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

Diff for /src/usr.bin/mandoc/man_validate.c between version 1.47 and 1.48

version 1.47, 2011/09/18 15:54:48 version 1.48, 2011/10/16 12:18:32
Line 209 
Line 209 
 {  {
         char            *cp, *p;          char            *cp, *p;
   
         cp = p = n->string;          if (MAN_LITERAL & m->flags)
         for (cp = p; NULL != (p = strchr(p, '\t')); p++) {                  return;
                 if (MAN_LITERAL & m->flags)  
                         continue;          cp = n->string;
           for (p = cp; NULL != (p = strchr(p, '\t')); p++)
                 man_pmsg(m, n->line, (int)(p - cp), MANDOCERR_BADTAB);                  man_pmsg(m, n->line, (int)(p - cp), MANDOCERR_BADTAB);
         }  
 }  }
   
 #define INEQ_DEFINE(x, ineq, name) \  #define INEQ_DEFINE(x, ineq, name) \
Line 470 
Line 470 
         const char      *p, *s;          const char      *p, *s;
   
         n = n->child;          n = n->child;
         n = m->last->child;  
   
         if (NULL == n || MAN_TEXT != n->type)          if (NULL == n || MAN_TEXT != n->type)
                 p = bsd_versions[0];                  p = bsd_versions[0];

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48