diff options
Diffstat (limited to 'bpeg.h')
| -rw-r--r-- | bpeg.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -15,11 +15,8 @@ typedef struct match_s { // Where the match starts and ends (end is after the last character) const char *start, *end; - union { - unsigned int is_capture:1; - const char *name; - const char *replacement; - } capture; + unsigned int is_capture:1, is_replacement:1; + const char *name_or_replacement; struct match_s *child, *nextsibling; } match_t; |
