diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-01-19 23:59:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 23:59:33 (GMT) |
commit | d6d6371447357c9c69b093657bbbb3977a3e60f2 (patch) | |
tree | a7676cfcf08746f0ca890f3b7d820a379e58f310 /Parser/tokenizer.h | |
parent | 66f77caca39ba39ebe1e4a95dba6d19b20d51951 (diff) | |
download | cpython-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.h | 1 |
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 */ |