summaryrefslogtreecommitdiffstats
path: root/Parser/pegen.h
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2022-02-08 11:54:37 (GMT)
committerGitHub <noreply@github.com>2022-02-08 11:54:37 (GMT)
commit69e10976b2e7682c6d57f4272932ebc19f8e8859 (patch)
tree58a1716aab40f00e50fcd6e8abea7ae294e960c0 /Parser/pegen.h
parent25db2b361beb865192a3424830ddcb0ae4b17318 (diff)
downloadcpython-69e10976b2e7682c6d57f4272932ebc19f8e8859.zip
cpython-69e10976b2e7682c6d57f4272932ebc19f8e8859.tar.gz
cpython-69e10976b2e7682c6d57f4272932ebc19f8e8859.tar.bz2
bpo-46521: Fix codeop to use a new partial-input mode of the parser (GH-31010)
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 caba34e..061ca3a 100644
--- a/Parser/pegen.h
+++ b/Parser/pegen.h
@@ -22,6 +22,7 @@
#define PyPARSE_BARRY_AS_BDFL 0x0020
#define PyPARSE_TYPE_COMMENTS 0x0040
#define PyPARSE_ASYNC_HACKS 0x0080
+#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
#define CURRENT_POS (-5)