[BACK]Return to man_validate.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man_validate.c between version 1.75 and 1.76

version 1.75, 2011/09/06 17:53:50 version 1.76, 2011/10/16 12:20:34
Line 213  check_text(CHKARGS)
Line 213  check_text(CHKARGS)
 {  {
         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 474  post_UC(CHKARGS)
Line 474  post_UC(CHKARGS)
         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.75  
changed lines
  Added in v.1.76

CVSweb