diff options
author | Karl Williamson <khw@cpan.org> | 2016-07-05 19:17:18 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-07-16 13:30:30 -0600 |
commit | 243a3b9c6db780de9b2f8ab4bf33f0417a0b5e29 (patch) | |
tree | 792f516e9e68cf364ec76f5ce85d04467abbc964 /regcomp.h | |
parent | d1bd48a0bf64e4969a36b6ebe7f93c0ceea5529b (diff) | |
download | perl-243a3b9c6db780de9b2f8ab4bf33f0417a0b5e29.tar.gz |
regcomp.h: Use #define mnemonic, not hard-coded number
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1054,7 +1054,7 @@ re.pm, especially to the documentation. /* get_sv() can return NULL during global destruction. */ #define GET_RE_DEBUG_FLAGS DEBUG_r({ \ SV * re_debug_flags_sv = NULL; \ - re_debug_flags_sv = PL_curcop ? get_sv(RE_DEBUG_FLAGS, 1) : NULL; \ + re_debug_flags_sv = PL_curcop ? get_sv(RE_DEBUG_FLAGS, GV_ADD) : NULL; \ if (re_debug_flags_sv) { \ if (!SvIOK(re_debug_flags_sv)) \ sv_setuv(re_debug_flags_sv, RE_DEBUG_COMPILE_DUMP | RE_DEBUG_EXECUTE_MASK ); \ |