/[pcre]/code/branches/pcre16/pcre_printint.src
ViewVC logotype

Diff of /code/branches/pcre16/pcre_printint.src

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

revision 755 by ph10, Mon Nov 21 10:41:54 2011 UTC revision 756 by ph10, Mon Nov 21 10:48:42 2011 UTC
# Line 72  static const char *OP_names[] = { OP_NAM Line 72  static const char *OP_names[] = { OP_NAM
72  *************************************************/  *************************************************/
73    
74  static int  static int
75  print_char(FILE *f, uschar *ptr, BOOL utf8)  print_char(FILE *f, pcre_uchar *ptr, BOOL utf8)
76  {  {
77  int c = *ptr;  int c = *ptr;
78    
# Line 155  static void Line 155  static void
155  pcre_printint(pcre *external_re, FILE *f, BOOL print_lengths)  pcre_printint(pcre *external_re, FILE *f, BOOL print_lengths)
156  {  {
157  real_pcre *re = (real_pcre *)external_re;  real_pcre *re = (real_pcre *)external_re;
158  uschar *codestart, *code;  pcre_uchar *codestart, *code;
159  BOOL utf8;  BOOL utf8;
160    
161  unsigned int options = re->options;  unsigned int options = re->options;
# Line 174  if (re->magic_number != MAGIC_NUMBER) Line 174  if (re->magic_number != MAGIC_NUMBER)
174              ((options >> 24) & 0x000000ff);              ((options >> 24) & 0x000000ff);
175    }    }
176    
177  code = codestart = (uschar *)re + offset + count * size;  code = codestart = (pcre_uchar *)re + offset + count * size;
178  utf8 = (options & PCRE_UTF8) != 0;  utf8 = (options & PCRE_UTF8) != 0;
179    
180  for(;;)  for(;;)
181    {    {
182    uschar *ccode;    pcre_uchar *ccode;
183    const char *flag = "  ";    const char *flag = "  ";
184    int c;    int c;
185    int extra = 0;    int extra = 0;

Legend:
Removed from v.755  
changed lines
  Added in v.756

  ViewVC Help
Powered by ViewVC 1.1.5