mirror of
https://github.com/python/cpython
synced 2024-09-21 02:31:47 +00:00
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 (level % 10 == 0 && PyOS_CheckStack()) {
|
||||
return SRE_ERROR_RECURSION_LIMIT;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(USE_RECURSION_LIMIT)
|
||||
|
|
Loading…
Reference in a new issue