diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-11-26 23:32:29 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-11-26 23:32:29 +0000 |
commit | 55eed6530071fdede680c5313b36f33946ae9956 (patch) | |
tree | 50342bdc90ec88d014f6dcff0a70a001575dc56d /regcomp.h | |
parent | 3251b6533b8ccfabab55365b302970011d85066a (diff) | |
download | perl-55eed6530071fdede680c5313b36f33946ae9956.tar.gz |
Move widecharmap out of the shared structure _reg_trie_data into the
top level regdata array, so that it can be correctly duplicated on
thread clone.
p4raw-id: //depot/perl@29393
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -429,6 +429,7 @@ END_EXTERN_C * strings resulting from casefolding the single-character entries * in the character class * t - trie struct + * u - trie struct's widecharmap (a HV, so can't share, must dup) * T - aho-trie struct * S - sv for named capture lookup * 20010712 mjd@plover.com @@ -520,7 +521,6 @@ struct _reg_trie_data { U16 uniquecharcount; /* unique chars in trie (width of trans table) */ U32 lasttrans; /* last valid transition element */ U16 *charmap; /* byte to charid lookup array */ - HV *widecharmap; /* code points > 255 to charid */ reg_trie_state *states; /* state data */ reg_trie_trans *trans; /* array of transition elements */ char *bitmap; /* stclass bitmap */ |