mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
-- 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)
This commit is contained in:
parent
329e29198d
commit
2f2c67d7e5
4 changed files with 199 additions and 35 deletions
|
|
@ -74,6 +74,8 @@ 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