diff options
author | Guido van Rossum <guido@python.org> | 1996-08-12 22:00:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-12 22:00:53 (GMT) |
commit | 0dfcf753ad75892c0ad2a68713841402183514d4 (patch) | |
tree | ae704c4e11a11f44c5efd229d78c6558d3b0b78a /Python/compile.c | |
parent | aacdc9da75e31a48a90a8354f5ea29af4267a178 (diff) | |
download | cpython-0dfcf753ad75892c0ad2a68713841402183514d4.zip cpython-0dfcf753ad75892c0ad2a68713841402183514d4.tar.gz cpython-0dfcf753ad75892c0ad2a68713841402183514d4.tar.bz2 |
Disable support for access statement
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c index cf2d0bb..b6e2dd8 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1792,12 +1792,12 @@ com_newlocal(c, name) #define strequ(a, b) (strcmp((a), (b)) == 0) +#ifdef SUPPORT_OBSOLETE_ACCESS static void com_access_stmt(c, n) struct compiling *c; node *n; { -#if 0 int i, j, k, mode, imode; object *vmode; REQ(n, access_stmt); @@ -1848,8 +1848,8 @@ com_access_stmt(c, n) com_addoparg(c, LOAD_CONST, imode); com_addopname(c, ACCESS_MODE, CHILD(n, i)); } -#endif } +#endif static void com_exec_stmt(c, n) @@ -2421,9 +2421,11 @@ com_node(c, n) case global_stmt: com_global_stmt(c, n); break; +#ifdef SUPPORT_OBSOLETE_ACCESS case access_stmt: com_access_stmt(c, n); break; +#endif case exec_stmt: com_exec_stmt(c, n); break; |