/[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 1134 by chpe, Thu Oct 18 18:35:33 2012 UTC revision 1313 by ph10, Wed Apr 24 12:07:09 2013 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2012 University of Cambridge             Copyright (c) 1997-2013 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# 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:
226      if ((re->flags & PCRE_MLSET) == 0) return PCRE_ERROR_UNSET;
227      *((unsigned long int *)where) = re->limit_match;
228      break;
229    
230      case PCRE_INFO_RECURSIONLIMIT:
231      if ((re->flags & PCRE_RLSET) == 0) return PCRE_ERROR_UNSET;
232      *((unsigned long int *)where) = re->limit_recursion;
233      break;
234    
235    default: return PCRE_ERROR_BADOPTION;    default: return PCRE_ERROR_BADOPTION;
236    }    }

Legend:
Removed from v.1134  
changed lines
  Added in v.1313

  ViewVC Help
Powered by ViewVC 1.1.5