Mercurial > hg > th-libs
changeset 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 | 3c9205d52376 |
files | th_regex.c th_regex.h |
diffstat | 2 files changed, 0 insertions(+), 8 deletions(-) [+] |
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
--- a/th_regex.h Sat Jan 25 13:13:37 2020 +0200 +++ b/th_regex.h Sat Jan 25 13:18:38 2020 +0200 @@ -5,8 +5,6 @@ * * Please read file 'COPYING' for information on license and distribution. */ -#ifdef TH_EXPERIMENTAL_REGEX - #ifndef TH_REGEX_H #define TH_REGEX_H @@ -73,5 +71,3 @@ } #endif #endif // TH_REGEX_H - -#endif // TH_EXPERIMENTAL_REGEX