diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 21:05:41 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-08-01 21:05:41 (GMT) |
commit | 2f2c67d7e5934bdf96835f3c4774388b3e654314 (patch) | |
tree | 1d573a6163fe77af982c4637f809b1e468873a74 /Modules/sre.h | |
parent | 329e29198dccbbb7f0e7e84c026196dbfc47befa (diff) | |
download | cpython-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.h | 2 |
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 { |