summaryrefslogtreecommitdiffstats
path: root/Parser/pegen/pegen.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-05-25 17:58:03 (GMT)
committerGitHub <noreply@github.com>2020-05-25 17:58:03 (GMT)
commit82da2c3eb4d69b55d9e300ab5d9c1d22bd09b9cd (patch)
tree0e246080e54ee87a2f05b0650469b134c5f01b98 /Parser/pegen/pegen.h
parent9a5e643483578c3a944ceb5aa511d6c24280aedc (diff)
downloadcpython-82da2c3eb4d69b55d9e300ab5d9c1d22bd09b9cd.zip
cpython-82da2c3eb4d69b55d9e300ab5d9c1d22bd09b9cd.tar.gz
cpython-82da2c3eb4d69b55d9e300ab5d9c1d22bd09b9cd.tar.bz2
bpo-40750: Support -d flag in the new parser (GH-20340)
(cherry picked from commit 800a35c623bbcdb5793c7d7a4974524286311479) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Parser/pegen/pegen.h')
-rw-r--r--Parser/pegen/pegen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/pegen/pegen.h b/Parser/pegen/pegen.h
index 761e90f..bd3056e 100644
--- a/Parser/pegen/pegen.h
+++ b/Parser/pegen/pegen.h
@@ -72,6 +72,7 @@ typedef struct {
int feature_version;
growable_comment_array type_ignore_comments;
Token *known_err_token;
+ int level;
} Parser;
typedef struct {