summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-01-19 23:59:33 (GMT)
committerGitHub <noreply@github.com>2021-01-19 23:59:33 (GMT)
commitd6d6371447357c9c69b093657bbbb3977a3e60f2 (patch)
treea7676cfcf08746f0ca890f3b7d820a379e58f310 /Parser/tokenizer.h
parent66f77caca39ba39ebe1e4a95dba6d19b20d51951 (diff)
downloadcpython-d6d6371447357c9c69b093657bbbb3977a3e60f2.zip
cpython-d6d6371447357c9c69b093657bbbb3977a3e60f2.tar.gz
cpython-d6d6371447357c9c69b093657bbbb3977a3e60f2.tar.bz2
bpo-42864: Improve error messages regarding unclosed parentheses (GH-24161)
Diffstat (limited to 'Parser/tokenizer.h')
-rw-r--r--Parser/tokenizer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/tokenizer.h b/Parser/tokenizer.h
index b659f34..56074b6 100644
--- a/Parser/tokenizer.h
+++ b/Parser/tokenizer.h
@@ -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 */