diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-04-12 18:21:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 18:21:00 (GMT) |
commit | 41d5b94af44e34ac05d4cd57460ed104ccf96628 (patch) | |
tree | 564847a328b623cc02268a93fda371e0bea797b3 /Include/errcode.h | |
parent | 402e1cdb132f384e4dcde7a3d7ec7ea1fc7ab527 (diff) | |
download | cpython-41d5b94af44e34ac05d4cd57460ed104ccf96628.zip cpython-41d5b94af44e34ac05d4cd57460ed104ccf96628.tar.gz cpython-41d5b94af44e34ac05d4cd57460ed104ccf96628.tar.bz2 |
bpo-40246: Report a better error message for invalid string prefixes (GH-19476)
Diffstat (limited to 'Include/errcode.h')
-rw-r--r-- | Include/errcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/errcode.h b/Include/errcode.h index b37cd26..9af8d5c 100644 --- a/Include/errcode.h +++ b/Include/errcode.h @@ -31,6 +31,7 @@ extern "C" { #define E_LINECONT 25 /* Unexpected characters after a line continuation */ #define E_IDENTIFIER 26 /* Invalid characters in identifier */ #define E_BADSINGLE 27 /* Ill-formed single statement input */ +#define E_BADPREFIX 28 /* Bad string prefixes */ #ifdef __cplusplus } |