diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-02-08 11:54:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 11:54:37 (GMT) |
commit | 69e10976b2e7682c6d57f4272932ebc19f8e8859 (patch) | |
tree | 58a1716aab40f00e50fcd6e8abea7ae294e960c0 /Include/errcode.h | |
parent | 25db2b361beb865192a3424830ddcb0ae4b17318 (diff) | |
download | cpython-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 'Include/errcode.h')
-rw-r--r-- | Include/errcode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/errcode.h b/Include/errcode.h index 2e07fc2..54ae929 100644 --- a/Include/errcode.h +++ b/Include/errcode.h @@ -26,6 +26,8 @@ extern "C" { #define E_TOODEEP 20 /* Too many indentation levels */ #define E_DEDENT 21 /* No matching outer block for dedent */ #define E_DECODE 22 /* Error in decoding into Unicode */ +#define E_EOFS 23 /* EOF in triple-quoted string */ +#define E_EOLS 24 /* EOL in single-quoted string */ #define E_LINECONT 25 /* Unexpected characters after a line continuation */ #define E_BADSINGLE 27 /* Ill-formed single statement input */ #define E_INTERACT_STOP 28 /* Interactive mode stopped tokenization */ |