/[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 455 by ph10, Sat Sep 26 19:12:32 2009 UTC revision 461 by ph10, Mon Oct 5 10:59:35 2009 UTC
# Line 122  switch (what) Line 122  switch (what)
122      (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?      (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?
123        ((const pcre_study_data *)extra_data->study_data)->start_bits : NULL;        ((const pcre_study_data *)extra_data->study_data)->start_bits : NULL;
124    break;    break;
125    
126    case PCRE_INFO_MINLENGTH:    case PCRE_INFO_MINLENGTH:
127    *((int *)where) =    *((int *)where) =
128      (study != NULL && (study->flags & PCRE_STUDY_MINLEN) != 0)?      (study != NULL && (study->flags & PCRE_STUDY_MINLEN) != 0)?
129        study->minlength : -1;        study->minlength : -1;
130    break;    break;
131    
132    case PCRE_INFO_LASTLITERAL:    case PCRE_INFO_LASTLITERAL:
133    *((int *)where) =    *((int *)where) =
# Line 152  switch (what) Line 152  switch (what)
152    
153    /* From release 8.00 this will always return TRUE because NOPARTIAL is    /* From release 8.00 this will always return TRUE because NOPARTIAL is
154    no longer ever set (the restrictions have been removed). */    no longer ever set (the restrictions have been removed). */
155    
156    case PCRE_INFO_OKPARTIAL:    case PCRE_INFO_OKPARTIAL:
157    *((int *)where) = (re->flags & PCRE_NOPARTIAL) == 0;    *((int *)where) = (re->flags & PCRE_NOPARTIAL) == 0;
158    break;    break;

Legend:
Removed from v.455  
changed lines
  Added in v.461

  ViewVC Help
Powered by ViewVC 1.1.5