diff options
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -44,10 +44,11 @@ struct templateEntry { char *pPropRepl; /* pointer to property replacer string */ unsigned iFromPos; /* for partial strings only chars from this position ... */ unsigned iToPos; /* up to that one... */ -#ifdef FEATURE_REGEXP
- regex_t re; /* APR: this is the regular expression */
- unsigned has_regex;
-#endif
+#ifdef FEATURE_REGEXP + regex_t re; /* APR: this is the regular expression */ + unsigned has_regex; +#endif + unsigned has_fields; /* support for field-couting */ enum tplFormatTypes eDateFormat; enum tplFormatCaseConvTypes eCaseConv; struct { /* bit fields! */ |