| 44 |
|
|
| 45 |
(1) It is #included by pcre_compile.c when it is compiled in debugging mode |
(1) It is #included by pcre_compile.c when it is compiled in debugging mode |
| 46 |
(PCRE_DEBUG defined in pcre_internal.h). It is not included in production |
(PCRE_DEBUG defined in pcre_internal.h). It is not included in production |
| 47 |
compiles. |
compiles. In this case PCRE_INCLUDED is defined. |
| 48 |
|
|
| 49 |
(2) It is also compiled separately and linked with pcretest.c, which can be |
(2) It is also compiled separately and linked with pcretest.c, which can be |
| 50 |
asked to print out a compiled regex for debugging purposes. */ |
asked to print out a compiled regex for debugging purposes. */ |
| 51 |
|
|
| 52 |
|
#ifndef PCRE_INCLUDED |
| 53 |
|
|
| 54 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
| 55 |
#include "config.h" |
#include "config.h" |
| 56 |
#endif |
#endif |
| 70 |
/* These are the funtions that are contained within. It doesn't seem worth |
/* These are the funtions that are contained within. It doesn't seem worth |
| 71 |
having a separate .h file just for this. */ |
having a separate .h file just for this. */ |
| 72 |
|
|
| 73 |
|
#endif /* PCRE_INCLUDED */ |
| 74 |
|
|
| 75 |
|
#ifdef PCRE_INCLUDED |
| 76 |
|
static /* Keep the following function as private. */ |
| 77 |
|
#endif |
| 78 |
#ifdef COMPILE_PCRE8 |
#ifdef COMPILE_PCRE8 |
| 79 |
void pcre_printint(pcre *external_re, FILE *f, BOOL print_lengths); |
void pcre_printint(pcre *external_re, FILE *f, BOOL print_lengths); |
| 80 |
#endif |
#else |
|
#ifdef COMPILE_PCRE16 |
|
| 81 |
void pcre16_printint(pcre *external_re, FILE *f, BOOL print_lengths); |
void pcre16_printint(pcre *external_re, FILE *f, BOOL print_lengths); |
| 82 |
#endif |
#endif |
| 83 |
|
|
| 236 |
They can be turned off from pcretest so that automatic tests on bytecode can be |
They can be turned off from pcretest so that automatic tests on bytecode can be |
| 237 |
written that do not depend on the value of LINK_SIZE. */ |
written that do not depend on the value of LINK_SIZE. */ |
| 238 |
|
|
| 239 |
|
#ifdef PCRE_INCLUDED |
| 240 |
|
static /* Keep the following function as private. */ |
| 241 |
|
#endif |
| 242 |
#ifdef COMPILE_PCRE8 |
#ifdef COMPILE_PCRE8 |
| 243 |
void |
void |
| 244 |
pcre_printint(pcre *external_re, FILE *f, BOOL print_lengths) |
pcre_printint(pcre *external_re, FILE *f, BOOL print_lengths) |