summaryrefslogtreecommitdiffstats
path: root/Modules/sre.h
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-08-01 21:05:41 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-08-01 21:05:41 (GMT)
commit2f2c67d7e5934bdf96835f3c4774388b3e654314 (patch)
tree1d573a6163fe77af982c4637f809b1e468873a74 /Modules/sre.h
parent329e29198dccbbb7f0e7e84c026196dbfc47befa (diff)
downloadcpython-2f2c67d7e5934bdf96835f3c4774388b3e654314.zip
cpython-2f2c67d7e5934bdf96835f3c4774388b3e654314.tar.gz
cpython-2f2c67d7e5934bdf96835f3c4774388b3e654314.tar.bz2
-- fixed width calculations for alternations
-- fixed literal check in branch operator (this broke test_tokenize, as reported by Mark Favas) -- added REPEAT_ONE operator (still not enabled, though) -- added some debugging stuff (maxlevel)
Diffstat (limited to 'Modules/sre.h')
-rw-r--r--Modules/sre.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/sre.h b/Modules/sre.h
index bf58eb5..553e456 100644
--- a/Modules/sre.h
+++ b/Modules/sre.h
@@ -74,6 +74,8 @@ typedef struct {
SRE_REPEAT *repeat; /* current repeat context */
/* hooks */
SRE_TOLOWER_HOOK lower;
+ /* debugging */
+ int maxlevel;
} SRE_STATE;
typedef struct {