diff options
author | Meador Inge <meadori@gmail.com> | 2012-01-19 07:08:41 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2012-01-19 07:08:41 (GMT) |
commit | fa21bf015d4e9cb0c010fde28db0c344174634d1 (patch) | |
tree | 449cbadc11a8420aa3cb8db9678dded1d9176599 /Include | |
parent | 00c7f85298b9803371b4a0019ce8732ed8a2dd3b (diff) | |
download | cpython-fa21bf015d4e9cb0c010fde28db0c344174634d1.zip cpython-fa21bf015d4e9cb0c010fde28db0c344174634d1.tar.gz cpython-fa21bf015d4e9cb0c010fde28db0c344174634d1.tar.bz2 |
Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement
Diffstat (limited to 'Include')
-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 6bb3cc1..5946686 100644 --- a/Include/errcode.h +++ b/Include/errcode.h @@ -30,6 +30,7 @@ extern "C" { #define E_EOLS 24 /* EOL in single-quoted string */ #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 */ #ifdef __cplusplus } |