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

Diff for /mandoc/Attic/validate.c between version 1.65 and 1.67

version 1.65, 2009/02/28 14:40:07 version 1.67, 2009/03/04 13:57:35
Line 22 
Line 22 
   
 #include "private.h"  #include "private.h"
   
   /* FIXME: .Bl -diag can't have non-text children in HEAD. */
   
 /*  /*
  * Pre- and post-validate macros as they're parsed.  Pre-validation   * Pre- and post-validate macros as they're parsed.  Pre-validation
  * occurs when the macro has been detected and its arguments parsed.   * occurs when the macro has been detected and its arguments parsed.
Line 484  check_text(struct mdoc *mdoc, int line, int pos, const
Line 486  check_text(struct mdoc *mdoc, int line, int pos, const
         for ( ; *p; p++) {          for ( ; *p; p++) {
                 if ( ! isprint((int)*p) && '\t' != *p)                  if ( ! isprint((int)*p) && '\t' != *p)
                         return(mdoc_perr(mdoc, line, pos,                          return(mdoc_perr(mdoc, line, pos,
                                         "invalid characters"));                                  "invalid non-printing characters"));
                 if ('\\' != *p)                  if ('\\' != *p)
                         continue;                          continue;
                 if ((c = mdoc_isescape(p))) {                  if ((c = mdoc_isescape(p))) {

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.67

CVSweb