diff options
author | Karl Williamson <khw@cpan.org> | 2016-03-07 14:49:54 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-03-07 21:01:49 -0700 |
commit | 7e13d567238b0a97c71d97539515f094b4bfe5e1 (patch) | |
tree | 52195b825893fffbeb1fbd66d858bf123f00bd4a /regexec.c | |
parent | 6be58040b229d0899faf04b1ce99ce9a5e2b1344 (diff) | |
download | perl-7e13d567238b0a97c71d97539515f094b4bfe5e1.tar.gz |
Convert to use av_tindex_nomg()
I looked at the code I'm familiar with, and converted the av_tindex
calls on arrays I was confident don't have magic to av_tindex_nomg().
This saves a little work each time.
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4130,7 +4130,7 @@ S_setup_EXACTISH_ST_c1_c2(pTHX_ const regnode * const text_node, int *c1p, } else { /* Does participate in folds */ AV* list = (AV*) *listp; - if (av_tindex(list) != 1) { + if (av_tindex_nomg(list) != 1) { /* If there aren't exactly two folds to this, it is * outside the scope of this function */ |