summaryrefslogtreecommitdiff
path: root/Include/errcode.h
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-01-19 01:08:41 -0600
committerMeador Inge <meadori@gmail.com>2012-01-19 01:08:41 -0600
commitfa21bf015d4e9cb0c010fde28db0c344174634d1 (patch)
tree449cbadc11a8420aa3cb8db9678dded1d9176599 /Include/errcode.h
parent00c7f85298b9803371b4a0019ce8732ed8a2dd3b (diff)
downloadcpython-git-fa21bf015d4e9cb0c010fde28db0c344174634d1.tar.gz
Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement
Diffstat (limited to 'Include/errcode.h')
-rw-r--r--Include/errcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/errcode.h b/Include/errcode.h
index 6bb3cc1e5f..5946686c65 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
}