/[pcre]/code/branches/pcre16/pcre_fullinfo.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_fullinfo.c

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

revision 826 by zherczeg, Mon Dec 19 11:04:45 2011 UTC revision 827 by ph10, Tue Dec 27 10:51:09 2011 UTC
# Line 91  means that the pattern is likely compile Line 91  means that the pattern is likely compile
91  if (re->magic_number != MAGIC_NUMBER)  if (re->magic_number != MAGIC_NUMBER)
92    return re->magic_number == REVERSED_MAGIC_NUMBER?    return re->magic_number == REVERSED_MAGIC_NUMBER?
93      PCRE_ERROR_BADENDIANNESS:PCRE_ERROR_BADMAGIC;      PCRE_ERROR_BADENDIANNESS:PCRE_ERROR_BADMAGIC;
94    
95    /* Check that this pattern was compiled in the correct bit mode */
96    
97  if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;  if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
98    
99  switch (what)  switch (what)
# Line 117  switch (what) Line 120  switch (what)
120  #else  #else
121    *((size_t *)where) = 0;    *((size_t *)where) = 0;
122  #endif  #endif
   
123    break;    break;
124    
125    case PCRE_INFO_CAPTURECOUNT:    case PCRE_INFO_CAPTURECOUNT:

Legend:
Removed from v.826  
changed lines
  Added in v.827

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12