summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-11-26 23:01:46 +0000
committerNicholas Clark <nick@ccl4.org>2006-11-26 23:01:46 +0000
commit3251b6533b8ccfabab55365b302970011d85066a (patch)
tree13a0462c78f9010f12c30f1c8050d26de71e2ed3 /regexec.c
parent23eab42ccdcdf01b414e4c1728d8f919b2705614 (diff)
downloadperl-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index fe1c0f39c0..b184db1fb7 100644
--- a/regexec.c
+++ b/regexec.c
@@ -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