/[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 902 by ph10, Sat Jan 21 15:47:59 2012 UTC revision 903 by ph10, Sat Jan 21 16:37:17 2012 UTC
# Line 2412  are set, either both UTFs are supported Line 2412  are set, either both UTFs are supported
2412      if (rc)      if (rc)
2413        {        {
2414        const char *arch;        const char *arch;
2415        (void)PCRE_CONFIG(PCRE_CONFIG_JITTARGET, &arch);        (void)PCRE_CONFIG(PCRE_CONFIG_JITTARGET, &arch);
2416        printf("  Just-in-time compiler support: %s\n", arch);        printf("  Just-in-time compiler support: %s\n", arch);
2417        }        }
2418      else      else
2419        printf("  No just-in-time compiler support\n");        printf("  No just-in-time compiler support\n");
2420      (void)PCRE_CONFIG(PCRE_CONFIG_NEWLINE, &rc);      (void)PCRE_CONFIG(PCRE_CONFIG_NEWLINE, &rc);
# Line 2438  are set, either both UTFs are supported Line 2438  are set, either both UTFs are supported
2438      (void)PCRE_CONFIG(PCRE_CONFIG_STACKRECURSE, &rc);      (void)PCRE_CONFIG(PCRE_CONFIG_STACKRECURSE, &rc);
2439      printf("  Match recursion uses %s", rc? "stack" : "heap");      printf("  Match recursion uses %s", rc? "stack" : "heap");
2440      if (showstore)      if (showstore)
2441        {        {
2442        PCRE_EXEC(stack_size, NULL, NULL, NULL, -999, -999, 0, NULL, 0);        PCRE_EXEC(stack_size, NULL, NULL, NULL, -999, -999, 0, NULL, 0);
2443        printf(": %sframe size = %d bytes", rc? "approximate " : "", -stack_size);        printf(": %sframe size = %d bytes", rc? "approximate " : "", -stack_size);
2444        }        }
2445      printf("\n");      printf("\n");
2446      goto EXIT;      goto EXIT;
2447      }      }
2448    else if (strcmp(argv[op], "-help") == 0 ||    else if (strcmp(argv[op], "-help") == 0 ||
# Line 3385  while (!done) Line 3385  while (!done)
3385      cn16ptr = copynames;      cn16ptr = copynames;
3386      gn16ptr = getnames;      gn16ptr = getnames;
3387  #endif  #endif
3388  #ifdef SUPPORT_PCRE8  #ifdef SUPPORT_PCRE8
3389      cn8ptr = copynames8;      cn8ptr = copynames8;
3390      gn8ptr = getnames8;      gn8ptr = getnames8;
3391  #endif  #endif
3392    
3393      SET_PCRE_CALLOUT(callout);      SET_PCRE_CALLOUT(callout);
3394      first_callout = 1;      first_callout = 1;
# Line 3483  while (!done) Line 3483  while (!done)
3483              {              {
3484              if (++i == 9)              if (++i == 9)
3485                fprintf(outfile, "** Too many hex digits in \\x{...} item; "                fprintf(outfile, "** Too many hex digits in \\x{...} item; "
3486                                 "using only the first eight.\n");                                 "using only the first eight.\n");
3487              else c = c * 16 + tolower(*pt) - ((isdigit(*pt))? '0' : 'a' - 10);              else c = c * 16 + tolower(*pt) - ((isdigit(*pt))? '0' : 'a' - 10);
3488              }              }
3489            if (*pt == '}')            if (*pt == '}')
3490              {              {
3491              p = pt + 1;              p = pt + 1;

Legend:
Removed from v.902  
changed lines
  Added in v.903

  ViewVC Help
Powered by ViewVC 1.1.5