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

Diff for /mandoc/mdoc_validate.c between version 1.35 and 1.36

version 1.35, 2009/07/17 12:27:49 version 1.36, 2009/07/17 12:40:48
Line 1138  post_sp(POST_ARGS)
Line 1138  post_sp(POST_ARGS)
   
         if (NULL == mdoc->last->child)          if (NULL == mdoc->last->child)
                 return(1);                  return(1);
           else if ( ! eerr_eq1(mdoc))
                   return(0);
   
         assert(MDOC_TEXT == mdoc->last->child->type);          assert(MDOC_TEXT == mdoc->last->child->type);
         buf = mdoc->last->child->string;          buf = mdoc->last->child->string;
Line 1150  post_sp(POST_ARGS)
Line 1152  post_sp(POST_ARGS)
                 return(mdoc_nerr(mdoc, mdoc->last->child, ENUMFMT));                  return(mdoc_nerr(mdoc, mdoc->last->child, ENUMFMT));
   
         if ((errno == ERANGE && (lval == LONG_MAX || lval == LONG_MIN)) ||          if ((errno == ERANGE && (lval == LONG_MAX || lval == LONG_MIN)) ||
                         (lval > INT_MAX || lval < INT_MIN))                          (lval > INT_MAX || lval < 0))
                 return(mdoc_nerr(mdoc, mdoc->last->child, ENUMFMT));                  return(mdoc_nerr(mdoc, mdoc->last->child, ENUMFMT));
   
         return(1);          return(1);

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

CVSweb