1325 |
#endif /* !defined NOPOSIX */ |
#endif /* !defined NOPOSIX */ |
1326 |
|
|
1327 |
{ |
{ |
1328 |
|
unsigned long int get_options; |
1329 |
|
|
1330 |
if (timeit > 0) |
if (timeit > 0) |
1331 |
{ |
{ |
1332 |
register int i; |
register int i; |
1369 |
} |
} |
1370 |
goto CONTINUE; |
goto CONTINUE; |
1371 |
} |
} |
1372 |
|
|
1373 |
/* Compilation succeeded; print data if required. There are now two |
/* Compilation succeeded. It is now possible to set the UTF-8 option from |
1374 |
info-returning functions. The old one has a limited interface and |
within the regex; check for this so that we know how to process the data |
1375 |
returns only limited data. Check that it agrees with the newer one. */ |
lines. */ |
1376 |
|
|
1377 |
|
new_info(re, NULL, PCRE_INFO_OPTIONS, &get_options); |
1378 |
|
if ((get_options & PCRE_UTF8) != 0) use_utf8 = 1; |
1379 |
|
|
1380 |
|
/* Print information if required. There are now two info-returning |
1381 |
|
functions. The old one has a limited interface and returns only limited |
1382 |
|
data. Check that it agrees with the newer one. */ |
1383 |
|
|
1384 |
if (log_store) |
if (log_store) |
1385 |
fprintf(outfile, "Memory allocation (code space): %d\n", |
fprintf(outfile, "Memory allocation (code space): %d\n", |
1463 |
fprintf(outfile, "------------------------------------------------------------------\n"); |
fprintf(outfile, "------------------------------------------------------------------\n"); |
1464 |
pcre_printint(re, outfile, debug_lengths); |
pcre_printint(re, outfile, debug_lengths); |
1465 |
} |
} |
1466 |
|
|
1467 |
|
/* We already have the options in get_options (see above) */ |
1468 |
|
|
1469 |
if (do_showinfo) |
if (do_showinfo) |
1470 |
{ |
{ |
1471 |
unsigned long int get_options, all_options; |
unsigned long int all_options; |
1472 |
#if !defined NOINFOCHECK |
#if !defined NOINFOCHECK |
1473 |
int old_first_char, old_options, old_count; |
int old_first_char, old_options, old_count; |
1474 |
#endif |
#endif |
1477 |
int nameentrysize, namecount; |
int nameentrysize, namecount; |
1478 |
const uschar *nametable; |
const uschar *nametable; |
1479 |
|
|
|
new_info(re, NULL, PCRE_INFO_OPTIONS, &get_options); |
|
1480 |
new_info(re, NULL, PCRE_INFO_SIZE, &size); |
new_info(re, NULL, PCRE_INFO_SIZE, &size); |
1481 |
new_info(re, NULL, PCRE_INFO_CAPTURECOUNT, &count); |
new_info(re, NULL, PCRE_INFO_CAPTURECOUNT, &count); |
1482 |
new_info(re, NULL, PCRE_INFO_BACKREFMAX, &backrefmax); |
new_info(re, NULL, PCRE_INFO_BACKREFMAX, &backrefmax); |