/[pcre]/code/trunk/pcre_printint.c
ViewVC logotype

Diff of /code/trunk/pcre_printint.c

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

revision 805 by ph10, Wed Dec 14 16:49:20 2011 UTC revision 806 by zherczeg, Thu Dec 15 11:57:39 2011 UTC
# Line 44  local functions. This source file is use Line 44  local functions. This source file is use
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
# Line 68  appropriately for an application, not fo Line 70  appropriately for an application, not fo
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    
# Line 230  print_lengths flag controls whether offs Line 236  print_lengths flag controls whether offs
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)

Legend:
Removed from v.805  
changed lines
  Added in v.806

  ViewVC Help
Powered by ViewVC 1.1.5