mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #12705: Raise SyntaxError when compiling multiple statements as single interactive statement
This commit is contained in:
parent
00c7f85298
commit
fa21bf015d
5 changed files with 52 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue