/[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 1319 by ph10, Wed Apr 24 12:07:09 2013 UTC revision 1320 by ph10, Wed May 1 16:39:35 2013 UTC
# Line 221  switch (what) Line 221  switch (what)
221    case PCRE_INFO_MAXLOOKBEHIND:    case PCRE_INFO_MAXLOOKBEHIND:
222    *((int *)where) = re->max_lookbehind;    *((int *)where) = re->max_lookbehind;
223    break;    break;
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;    *((unsigned long int *)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;    *((unsigned long int *)where) = re->limit_recursion;
233    break;    break;
234    
235    default: return PCRE_ERROR_BADOPTION;    default: return PCRE_ERROR_BADOPTION;
236    }    }

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

  ViewVC Help
Powered by ViewVC 1.1.5