Skip to content

Commit

Permalink
regcomp.c: Reorder clauses in an 'if'
Browse files Browse the repository at this point in the history
This will help a future commit
  • Loading branch information
khwilliamson committed Oct 11, 2018
1 parent dc704fe commit 6a6aede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regcomp.c
Expand Up @@ -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
Expand Down

0 comments on commit 6a6aede

Please sign in to comment.