mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-42864: Improve error messages regarding unclosed parentheses (GH-24161)
This commit is contained in:
parent
66f77caca3
commit
d6d6371447
8 changed files with 88 additions and 8 deletions
|
|
@ -45,6 +45,7 @@ struct tok_state {
|
|||
/* Used to allow free continuations inside them */
|
||||
char parenstack[MAXLEVEL];
|
||||
int parenlinenostack[MAXLEVEL];
|
||||
int parencolstack[MAXLEVEL];
|
||||
PyObject *filename;
|
||||
/* Stuff for checking on different tab sizes */
|
||||
int altindstack[MAXINDENT]; /* Stack of alternate indents */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue