summaryrefslogtreecommitdiffstats
path: root/Modules/sre.h
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-08-03 16:29:50 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-08-03 16:29:50 (GMT)
commit96ab46529b3329da58a2783ddb85b227de553f53 (patch)
tree622719ff8282523830d27ce834bc452e5cf4e1c3 /Modules/sre.h
parent16b1ad9c7d431975353c06ad952237281e743b39 (diff)
downloadcpython-96ab46529b3329da58a2783ddb85b227de553f53.zip
cpython-96ab46529b3329da58a2783ddb85b227de553f53.tar.gz
cpython-96ab46529b3329da58a2783ddb85b227de553f53.tar.bz2
-- 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
Diffstat (limited to 'Modules/sre.h')
-rw-r--r--Modules/sre.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/sre.h b/Modules/sre.h
index 553e456..bf58eb5 100644
--- a/Modules/sre.h
+++ b/Modules/sre.h
@@ -74,8 +74,6 @@ typedef struct {
SRE_REPEAT *repeat; /* current repeat context */
/* hooks */
SRE_TOLOWER_HOOK lower;
- /* debugging */
- int maxlevel;
} SRE_STATE;
typedef struct {