A small code tidy for one error return.
This commit is contained in:
parent
3458a2e2cd
commit
9e38537b87
|
@ -78,6 +78,10 @@ infelicity rather than an outright bug, because it did not affect the result of
|
|||
a match, just its speed. (In fact, in this case, the starting 'a' was
|
||||
subsequently picked up in the study.)
|
||||
|
||||
19. A minor tidy in pcre2_match(): making all PCRE2_ERROR_ returns use "return"
|
||||
instead of "RRETURN" saves unwinding the backtracks in these cases (only one
|
||||
didn't).
|
||||
|
||||
|
||||
Version 10.30 14-August-2017
|
||||
----------------------------
|
||||
|
|
|
@ -5052,7 +5052,7 @@ fprintf(stderr, "++ op=%d\n", *Fecode);
|
|||
P = (heapframe *)((char *)N - frame_size);
|
||||
if (N->group_frame_type == (GF_RECURSE | number))
|
||||
{
|
||||
if (Feptr == P->eptr) RRETURN(PCRE2_ERROR_RECURSELOOP);
|
||||
if (Feptr == P->eptr) return PCRE2_ERROR_RECURSELOOP;
|
||||
break;
|
||||
}
|
||||
offset = P->last_group_offset;
|
||||
|
|
Loading…
Reference in New Issue