summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-02-27 19:07:02 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-02-27 19:07:02 (GMT)
commit4db62b1e14ed909d4bd574633a11c45455c76beb (patch)
tree3bf20f1bab90d74a8b189f5cb31da0d6fa320a2f /Python/symtable.c
parented5e8234d76881fee036a3d2e642c6a7434c6eec (diff)
downloadcpython-4db62b1e14ed909d4bd574633a11c45455c76beb.zip
cpython-4db62b1e14ed909d4bd574633a11c45455c76beb.tar.gz
cpython-4db62b1e14ed909d4bd574633a11c45455c76beb.tar.bz2
Improved __future__ parser; still more to do
Makefile.pre.in: add target future.o Include/compile.h: define PyFutureFeaters and PyNode_Future() add c_future slot to struct compiling Include/symtable.h: add st_future slot to struct symtable Python/future.c: implementation of PyNode_Future() Python/compile.c: use PyNode_Future() for nested_scopes support Python/symtable.c: include compile.h to pick up PyFutureFeatures decl
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 3ec129d..aed8908 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -1,4 +1,5 @@
#include "Python.h"
+#include "compile.h"
#include "symtable.h"
#include "graminit.h"
#include "structmember.h"