| 3825 | |
| 3826 | static reg_errcode_t |
| 3827 | mark_opt_subexp (void *extra, bin_tree_t *node) |
| 3828 | { |
| 3829 | int idx = (int) (intptr_t) extra; |
| 3830 | if (node->token.type == SUBEXP && node->token.opr.idx == idx) |
| 3831 | node->token.opt_subexp = 1; |
| 3832 | |
| 3833 | return REG_NOERROR; |
| 3834 | } |
| 3835 | |
| 3836 | /* Free the allocated memory inside NODE. */ |
| 3837 | |
| 3838 | static void |
| 3839 | free_token (re_token_t *node) |
| 3840 | { |
no test coverage detected