/[pcre]/code/trunk/pcre_fullinfo.c
ViewVC logotype

Diff of /code/trunk/pcre_fullinfo.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1320 by ph10, Wed May 1 16:39:35 2013 UTC revision 1323 by ph10, Sat May 4 10:42:17 2013 UTC
# Line 224  switch (what) Line 224  switch (what)
224    
225    case PCRE_INFO_MATCHLIMIT:    case PCRE_INFO_MATCHLIMIT:
226    if ((re->flags & PCRE_MLSET) == 0) return PCRE_ERROR_UNSET;    if ((re->flags & PCRE_MLSET) == 0) return PCRE_ERROR_UNSET;
227    *((unsigned long int *)where) = re->limit_match;    *((pcre_uint32 *)where) = re->limit_match;
228    break;    break;
229    
230    case PCRE_INFO_RECURSIONLIMIT:    case PCRE_INFO_RECURSIONLIMIT:
231    if ((re->flags & PCRE_RLSET) == 0) return PCRE_ERROR_UNSET;    if ((re->flags & PCRE_RLSET) == 0) return PCRE_ERROR_UNSET;
232    *((unsigned long int *)where) = re->limit_recursion;    *((pcre_uint32 *)where) = re->limit_recursion;
233    break;    break;
234    
235    default: return PCRE_ERROR_BADOPTION;    default: return PCRE_ERROR_BADOPTION;

Legend:
Removed from v.1320  
changed lines
  Added in v.1323

  ViewVC Help
Powered by ViewVC 1.1.5