This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Rmv use of extraneous macro
authorKarl Williamson <khw@cpan.org>
Wed, 4 Mar 2020 23:01:24 +0000 (16:01 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 5 Mar 2020 21:22:44 +0000 (14:22 -0700)
I added this becuase the name of another macro confused me into thinking
this was necessary, whereas that other macro was all that was needed.

This is the only use of the extraneous macro.

regcomp.c

index 96017e2..d77c05f 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -12905,8 +12905,6 @@ S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state,
 
     PERL_ARGS_ASSERT_GROK_BSLASH_N;
 
-    GET_RE_DEBUG_FLAGS;
-
     assert(cBOOL(node_p) ^ cBOOL(code_point_p));  /* Exactly one should be set */
     assert(! (node_p && cp_count));               /* At most 1 should be set */