| 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) |