Permalink
Browse files

regcomp.c: Reorder clauses in an 'if'

This will help a future commit
  • Loading branch information...
khwilliamson committed Oct 3, 2018
1 parent dc704fe commit 6a6aedee4233a37f14a0d36f5947c3ff326c3e52
Showing with 2 additions and 2 deletions.
  1. +2 −2 regcomp.c
View
@@ -13468,12 +13468,12 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
if (
/* any numeric escape < 10 is always a backref */
num > 9
/* any numeric escape < RExC_npar is a backref */
&& num >= RExC_npar
/* cannot be an octal escape if it starts with 8 */
&& *RExC_parse != '8'
/* cannot be an octal escape it it starts with 9 */
&& *RExC_parse != '9'
/* any numeric escape < RExC_npar is a backref */
&& num >= RExC_npar
)
{
/* Probably not a backref, instead likely to be an

0 comments on commit 6a6aede

Please sign in to comment.