summaryrefslogtreecommitdiffstats
path: root/Parser/pegen.h
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-11-24 22:21:23 (GMT)
committerGitHub <noreply@github.com>2021-11-24 22:21:23 (GMT)
commit24c10d2943c482c4d3ecc71d45df2d8c10fa5bb1 (patch)
treebcd92d5aa5eb38532813cd703dc7f728d20d230a /Parser/pegen.h
parentf4afc53bf68c8ded20b281cd1baa88a679b4a3fd (diff)
downloadcpython-24c10d2943c482c4d3ecc71d45df2d8c10fa5bb1.zip
cpython-24c10d2943c482c4d3ecc71d45df2d8c10fa5bb1.tar.gz
cpython-24c10d2943c482c4d3ecc71d45df2d8c10fa5bb1.tar.bz2
bpo-45727: Only trigger the 'did you forgot a comma' error suggestion if inside parentheses (GH-29757)
Diffstat (limited to 'Parser/pegen.h')
-rw-r--r--Parser/pegen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/pegen.h b/Parser/pegen.h
index e5e712a..78e75d7 100644
--- a/Parser/pegen.h
+++ b/Parser/pegen.h
@@ -35,6 +35,7 @@ typedef struct _memo {
typedef struct {
int type;
PyObject *bytes;
+ int level;
int lineno, col_offset, end_lineno, end_col_offset;
Memo *memo;
} Token;