/[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 836 by ph10, Wed Dec 28 17:16:11 2011 UTC revision 842 by ph10, Sat Dec 31 15:19:04 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 */  /* 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)

Legend:
Removed from v.836  
changed lines
  Added in v.842

  ViewVC Help
Powered by ViewVC 1.1.5