[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.17 and 1.19

version 1.17, 2009/08/13 11:45:29 version 1.19, 2009/08/19 09:14:50
Line 83  static const struct man_valid man_valids[MAN_MAX] = {
Line 83  static const struct man_valid man_valids[MAN_MAX] = {
         { pres_bline, posts_eq0 }, /* nf */          { pres_bline, posts_eq0 }, /* nf */
         { pres_bline, posts_eq0 }, /* fi */          { pres_bline, posts_eq0 }, /* fi */
         { NULL, NULL }, /* r */          { NULL, NULL }, /* r */
           { NULL, NULL }, /* RE */
           { NULL, NULL }, /* RS */
 };  };
   
   
Line 137  static int
Line 139  static int
 check_root(CHKARGS)  check_root(CHKARGS)
 {  {
   
           /* FIXME: closing out explicit scope! */
   
         /* XXX - make this into a warning? */          /* XXX - make this into a warning? */
         if (MAN_BLINE & m->flags)          if (MAN_BLINE & m->flags)
                 return(man_nerr(m, n, WEXITSCOPE));                  return(man_nerr(m, n, WEXITSCOPE));
Line 289  static int
Line 293  static int
 check_eline(CHKARGS)  check_eline(CHKARGS)
 {  {
   
         if ( ! (MAN_ELINE & m->flags))          if (MAN_ELINE & m->flags)
                 return(1);                  return(man_nerr(m, n, WLNSCOPE));
         return(man_nerr(m, n, WLNSCOPE));          return(1);
 }  }
   
   
Line 299  static int
Line 303  static int
 check_bline(CHKARGS)  check_bline(CHKARGS)
 {  {
   
         if ( ! (MAN_BLINE & m->flags))          if (MAN_BLINE & m->flags)
                 return(1);                  return(man_nerr(m, n, WLNSCOPE));
         return(man_nerr(m, n, WLNSCOPE));          if (MAN_ELINE & m->flags)
                   return(man_nerr(m, n, WLNSCOPE));
           return(1);
 }  }
   

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.19

CVSweb