summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-03-17 21:59:52 -0600
committerKarl Williamson <khw@cpan.org>2019-03-17 22:17:28 -0600
commit3b89859ad83deaeff7c1ee7911d181ef10236879 (patch)
tree40381f043eb2a012ee77a934641a52fb65268844
parent5fcc329e3d4274eaa2e1973b91ca0808434a3bbe (diff)
downloadperl-3b89859ad83deaeff7c1ee7911d181ef10236879.tar.gz
regcomp.c: Use mnemonic for flag parameter
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 5f2c8633f1..98c5f42be6 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2700,7 +2700,7 @@ S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch,
trie_words = newAV();
});
- re_trie_maxbuff = get_sv(RE_TRIE_MAXBUF_NAME, 1);
+ re_trie_maxbuff = get_sv(RE_TRIE_MAXBUF_NAME, GV_ADD);
assert(re_trie_maxbuff);
if (!SvIOK(re_trie_maxbuff)) {
sv_setiv(re_trie_maxbuff, RE_TRIE_MAXBUF_INIT);