[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.47 and 1.50

version 1.47, 2010/07/22 23:03:15 version 1.50, 2010/10/11 15:45:36
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 27 
Line 27 
 #include <stdarg.h>  #include <stdarg.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   #include <time.h>
   
 #include "mandoc.h"  #include "mandoc.h"
 #include "libman.h"  #include "libman.h"
Line 233  check_text(CHKARGS) 
Line 234  check_text(CHKARGS) 
                 if (c) {                  if (c) {
                         p += c - 1;                          p += c - 1;
                         pos += c - 1;                          pos += c - 1;
                         continue;                  } else
                 }                          man_pmsg(m, n->line, pos, MANDOCERR_BADESCAPE);
   
                 c = man_pmsg(m, n->line, pos, MANDOCERR_BADESCAPE);  
                 if ( ! (MAN_IGN_ESCAPE & m->pflags) && ! c)  
                         return(c);  
         }          }
   
         return(1);          return(1);

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

CVSweb