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

Diff of /code/trunk/pcretest.c

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

revision 860 by zherczeg, Mon Jan 9 20:12:58 2012 UTC revision 862 by ph10, Wed Jan 11 16:07:32 2012 UTC
# Line 2104  printf("This version of pcretest is not Line 2104  printf("This version of pcretest is not
2104  #endif  #endif
2105  printf("\nOptions:\n");  printf("\nOptions:\n");
2106  #ifdef SUPPORT_PCRE16  #ifdef SUPPORT_PCRE16
2107  printf("  -16      use 16-bit interface\n");  printf("  -16      use the 16-bit library\n");
2108  #endif  #endif
2109  printf("  -b       show compiled code (bytecode)\n");  printf("  -b       show compiled code\n");
2110  printf("  -C       show PCRE compile-time options and exit\n");  printf("  -C       show PCRE compile-time options and exit\n");
2111  printf("  -C arg   show a specific compile-time option\n");  printf("  -C arg   show a specific compile-time option\n");
2112  printf("           and exit with its value. The arg can be:\n");  printf("           and exit with its value. The arg can be:\n");
# Line 3464  while (!done) Line 3464  while (!done)
3464            least one MacOS environment. */            least one MacOS environment. */
3465    
3466            for (pt++; isxdigit(*pt); pt++)            for (pt++; isxdigit(*pt); pt++)
3467              c = c * 16 + tolower(*pt) - ((isdigit(*pt))? '0' : 'a' - 10);              {
3468                if (++i == 9)
3469                  fprintf(outfile, "** Too many hex digits in \\x{...} item; "
3470                                   "using only the first eight.\n");
3471                else c = c * 16 + tolower(*pt) - ((isdigit(*pt))? '0' : 'a' - 10);
3472                }
3473            if (*pt == '}')            if (*pt == '}')
3474              {              {
3475              p = pt + 1;              p = pt + 1;

Legend:
Removed from v.860  
changed lines
  Added in v.862

  ViewVC Help
Powered by ViewVC 1.1.5