diff options
author | Skip Montanaro <skip@pobox.com> | 2002-08-15 01:20:16 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-08-15 01:20:16 (GMT) |
commit | 118ec70ea27000db428ba3e3a757f4b423670db6 (patch) | |
tree | aa0d92d2928436e81c1e85b8aecf23c9a4f7dd4e /Include/errcode.h | |
parent | 90e9a79afdb0bbee73fbdbe252b305ba918e46c3 (diff) | |
download | cpython-118ec70ea27000db428ba3e3a757f4b423670db6.zip cpython-118ec70ea27000db428ba3e3a757f4b423670db6.tar.gz cpython-118ec70ea27000db428ba3e3a757f4b423670db6.tar.bz2 |
provide less mysterious error messages when seeing end-of-line in
single-quoted strings or end-of-file in triple-quoted strings.
closes patch 586561.
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 a8b1aaa..985911e 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 */ #ifdef __cplusplus } |