summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-08-04 17:29:52 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-08-04 17:29:52 (GMT)
commit00f1e3f5a54adb0a7159a446edeca2e36da4092e (patch)
tree86d731c4fd7c0141686044f5eefbb7f475da9647 /Include
parenta729daf2e43f3ffa2d1b3b6cd31491c840091e66 (diff)
downloadcpython-00f1e3f5a54adb0a7159a446edeca2e36da4092e.zip
cpython-00f1e3f5a54adb0a7159a446edeca2e36da4092e.tar.gz
cpython-00f1e3f5a54adb0a7159a446edeca2e36da4092e.tar.bz2
Patch #534304: Implement phase 1 of PEP 263.
Diffstat (limited to 'Include')
-rw-r--r--Include/errcode.h1
-rw-r--r--Include/graminit.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Include/errcode.h b/Include/errcode.h
index daa702f..a8b1aaa 100644
--- a/Include/errcode.h
+++ b/Include/errcode.h
@@ -25,6 +25,7 @@ extern "C" {
#define E_OVERFLOW 19 /* Node had too many children */
#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 */
#ifdef __cplusplus
}
diff --git a/Include/graminit.h b/Include/graminit.h
index 50abda0..1f2ab3e 100644
--- a/Include/graminit.h
+++ b/Include/graminit.h
@@ -65,3 +65,4 @@
#define list_for 320
#define list_if 321
#define testlist1 322
+#define encoding_decl 323