(bufp)
| 725 | |
| 726 | |
| 727 | void |
| 728 | print_compiled_pattern (bufp) |
| 729 | struct re_pattern_buffer *bufp; |
| 730 | { |
| 731 | unsigned char *buffer = bufp->buffer; |
| 732 | |
| 733 | print_partial_compiled_pattern (buffer, buffer + bufp->used); |
| 734 | printf ("%d bytes used/%d bytes allocated.\n", bufp->used, bufp->allocated); |
| 735 | |
| 736 | if (bufp->fastmap_accurate && bufp->fastmap) |
| 737 | { |
| 738 | printf ("fastmap: "); |
| 739 | print_fastmap (bufp->fastmap); |
| 740 | } |
| 741 | |
| 742 | printf ("re_nsub: %d\t", bufp->re_nsub); |
| 743 | printf ("regs_alloc: %d\t", bufp->regs_allocated); |
| 744 | printf ("can_be_null: %d\t", bufp->can_be_null); |
| 745 | printf ("newline_anchor: %d\n", bufp->newline_anchor); |
| 746 | printf ("no_sub: %d\t", bufp->no_sub); |
| 747 | printf ("not_bol: %d\t", bufp->not_bol); |
| 748 | printf ("not_eol: %d\t", bufp->not_eol); |
| 749 | printf ("syntax: %d\n", bufp->syntax); |
| 750 | /* Perhaps we should print the translate table? */ |
| 751 | } |
| 752 | |
| 753 | |
| 754 | void |
no test coverage detected