summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-08-04 17:29:52 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-08-04 17:29:52 +0000
commit54c5596d3a50517a294fe300c01b4b7938651f43 (patch)
tree50cfd5a1ace285e68e27dc772141cd44c8564e3a /Include
parent9208b09d5f509cfd5ac27aa16580399d58c82d33 (diff)
downloadcpython-54c5596d3a50517a294fe300c01b4b7938651f43.tar.gz
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 daa702f7e1..a8b1aaab6f 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 50abda0d30..1f2ab3eadc 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