Mercurial > hg > th-libs
diff th_regex.c @ 652:38a9302962f7
Always compile the regex code, but do not run tests on it unless enabled.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 25 Jan 2020 13:18:38 +0200 |
parents | 18fe45e61b2b |
children | ae601363fdad |
line wrap: on
line diff
--- a/th_regex.c Sat Jan 25 13:13:37 2020 +0200 +++ b/th_regex.c Sat Jan 25 13:18:38 2020 +0200 @@ -24,8 +24,6 @@ #endif -#ifdef TH_EXPERIMENTAL_REGEX - enum { TH_RE_MATCH_ONCE, @@ -1109,5 +1107,3 @@ th_llist_free_func_node((th_llist_t *) matches, (void (*)(th_llist_t *)) th_regex_free_match); } - -#endif // TH_EXPERIMENTAL_REGEX