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

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

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

revision 825 by ph10, Mon Dec 19 13:34:10 2011 UTC revision 826 by zherczeg, Tue Dec 27 09:42:33 2011 UTC
# Line 114  print_char(FILE *f, pcre_uchar *ptr, BOO Line 114  print_char(FILE *f, pcre_uchar *ptr, BOO
114  int c = *ptr;  int c = *ptr;
115    
116  #ifndef SUPPORT_UTF  #ifndef SUPPORT_UTF
117    
118  (void)utf;  /* Avoid compiler warning */  (void)utf;  /* Avoid compiler warning */
119  if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x%02x", c);  if (PRINTABLE(c)) fprintf(f, "%c", c);
120    else if (c <= 0xff) fprintf(f, "\\x%02x", c);
121    else fprintf(f, "\\x{%x}", c);
122  return 0;  return 0;
123    
124  #else  #else

Legend:
Removed from v.825  
changed lines
  Added in v.826

  ViewVC Help
Powered by ViewVC 1.1.5