diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-05 18:02:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-05 18:02:02 +0000 |
commit | 1af6200d185d478f416345eedc9641a043650e1b (patch) | |
tree | 4ffb01a955e8c78b5f7bb6d159765c21aa253a70 /regexp.h | |
parent | 5daac39cdfb40a97f596516dfd1504833f0b6695 (diff) | |
download | perl-1af6200d185d478f416345eedc9641a043650e1b.tar.gz |
In struct regexp move the member paren_names to the IV union.
p4raw-id: //depot/perl@32854
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -102,10 +102,12 @@ typedef struct regexp { /* Information about the match that isn't often used */ unsigned pre_prefix:4; /* offset from wrapped to the start of precomp */ unsigned seen_evals:28; /* number of eval groups in the pattern - for security checks */ - HV *paren_names; /* Optional hash of paren names */ } regexp; -#define RXp_PAREN_NAMES(rx) ((rx)->paren_names) +/* HV *paren_names; Optional hash of paren names + now stored in the IV union */ + +#define RXp_PAREN_NAMES(rx) ((rx)->xiv_u.xivu_hv) /* used for high speed searches */ typedef struct re_scream_pos_data_s |