mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
-- added recursion limit (currently ~10,000 levels)
-- improved error messages -- factored out SRE_COUNT; the same code is used by SRE_OP_REPEAT_ONE_TEMPLATE -- minor cleanups
This commit is contained in:
parent
16b1ad9c7d
commit
96ab46529b
4 changed files with 183 additions and 158 deletions
|
@ -74,8 +74,6 @@ typedef struct {
|
|||
SRE_REPEAT *repeat; /* current repeat context */
|
||||
/* hooks */
|
||||
SRE_TOLOWER_HOOK lower;
|
||||
/* debugging */
|
||||
int maxlevel;
|
||||
} SRE_STATE;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue