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
This commit is contained in:
Jeremy Hylton 2001-02-27 19:07:02 +00:00
parent ed5e8234d7
commit 4db62b1e14
6 changed files with 167 additions and 46 deletions

View file

@ -1,4 +1,5 @@
#include "Python.h"
#include "compile.h"
#include "symtable.h"
#include "graminit.h"
#include "structmember.h"