diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-11-26 23:01:46 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-11-26 23:01:46 +0000 |
commit | 3251b6533b8ccfabab55365b302970011d85066a (patch) | |
tree | 13a0462c78f9010f12c30f1c8050d26de71e2ed3 /regexec.c | |
parent | 23eab42ccdcdf01b414e4c1728d8f919b2705614 (diff) | |
download | perl-3251b6533b8ccfabab55365b302970011d85066a.tar.gz |
Swap _reg_ac_data.trie to U32 offset into the regdata array, as
preliminary to moving _reg_trie_data.widecharmap out too.
p4raw-id: //depot/perl@29392
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1419,7 +1419,8 @@ S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, /* what trie are we using right now */ reg_ac_data *aho = (reg_ac_data*)progi->data->data[ ARG( c ) ]; - reg_trie_data *trie=aho->trie; + reg_trie_data *trie + = (reg_trie_data*)progi->data->data[ aho->trie ]; const char *last_start = strend - trie->minlen; #ifdef DEBUGGING |