Added a missing } in the USE_STACKCHECK code.
This commit is contained in:
parent
275abb3f1b
commit
0d15908629
@ -570,6 +570,7 @@ SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern, int level)
|
|||||||
#if defined(USE_STACKCHECK)
|
#if defined(USE_STACKCHECK)
|
||||||
if (level % 10 == 0 && PyOS_CheckStack()) {
|
if (level % 10 == 0 && PyOS_CheckStack()) {
|
||||||
return SRE_ERROR_RECURSION_LIMIT;
|
return SRE_ERROR_RECURSION_LIMIT;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(USE_RECURSION_LIMIT)
|
#if defined(USE_RECURSION_LIMIT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user