diff options
author | Guido van Rossum <guido@python.org> | 1993-05-12 11:35:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-05-12 11:35:44 (GMT) |
commit | a849b834f1e86bec20027654c91bb4cc74de5c8d (patch) | |
tree | 9889abb429019cd73a52e225b1f9ddbc4d4b87ee /Parser/tokenizer.h | |
parent | b2c6556fb0d309a04e37c2c9937fed16284cd00f (diff) | |
download | cpython-a849b834f1e86bec20027654c91bb4cc74de5c8d.zip cpython-a849b834f1e86bec20027654c91bb4cc74de5c8d.tar.gz cpython-a849b834f1e86bec20027654c91bb4cc74de5c8d.tar.bz2 |
* selectmodule.c: fix (another!) two memory leaks -- this time in list2set
* tokenizer.[ch]: allow continuation without \ inside () [] {}.
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r-- | Parser/tokenizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h index 9abc598..bdef859 100644 --- a/Parser/tokenizer.h +++ b/Parser/tokenizer.h @@ -46,6 +46,8 @@ struct tok_state { int pendin; /* Pending indents (if > 0) or dedents (if < 0) */ char *prompt, *nextprompt; /* For interactive prompting */ int lineno; /* Current line number */ + int level; /* () [] {} Parentheses nesting level */ + /* Used to allow free continuations inside them */ }; extern struct tok_state *tok_setups PROTO((char *)); |