mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
* selectmodule.c: fix (another!) two memory leaks -- this time in list2set
* tokenizer.[ch]: allow continuation without \ inside () [] {}.
This commit is contained in:
parent
b2c6556fb0
commit
a849b834f1
3 changed files with 21 additions and 2 deletions
|
@ -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 *));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue