| 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); |
| 2436 |
(void)PCRE_CONFIG(PCRE_CONFIG_MATCH_LIMIT_RECURSION, &lrc); |
(void)PCRE_CONFIG(PCRE_CONFIG_MATCH_LIMIT_RECURSION, &lrc); |
| 2437 |
printf(" Default recursion depth limit = %ld\n", lrc); |
printf(" Default recursion depth limit = %ld\n", lrc); |
| 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 |
PCRE_EXEC(rc, NULL, NULL, NULL, -1, -1, 0, NULL, 0); |
if (showstore) |
| 2441 |
printf("frame size = %d bytes\n", -rc); |
{ |
| 2442 |
|
PCRE_EXEC(stack_size, NULL, NULL, NULL, -999, -999, 0, NULL, 0); |
| 2443 |
|
printf(": %sframe size = %d bytes", rc? "approximate " : "", -stack_size); |
| 2444 |
|
} |
| 2445 |
|
printf("\n"); |
| 2446 |
goto EXIT; |
goto EXIT; |
| 2447 |
} |
} |
| 2448 |
else if (strcmp(argv[op], "-help") == 0 || |
else if (strcmp(argv[op], "-help") == 0 || |
| 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; |
| 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; |