This code was confusing enough that until a couple of commits ago, there
was a useless setting of a local variable.
--RExC_parse;
parse_flags:
parse_lparen_question_flags(pRExC_state);
- if (UCHARAT(RExC_parse) == ':') {
- paren = ':';
- }
- nextchar(pRExC_state);
- if (paren != ':') {
+ if (UCHARAT(RExC_parse) != ':') {
+ nextchar(pRExC_state);
*flagp = TRYAGAIN;
return NULL;
- } else {
- ret = NULL;
- goto parse_rest;
}
- break;
+ paren = ':';
+ nextchar(pRExC_state);
+ ret = NULL;
+ goto parse_rest;
} /* end switch */
}
else { /* (...) */