Try to fix compilation of Python-ast.c on Visual Studio 2008
This commit is contained in:
parent
cc50ba26bd
commit
45e50de1f5
|
@ -604,7 +604,7 @@ class PyTypesVisitor(PickleVisitor):
|
|||
def visitModule(self, mod):
|
||||
self.emit("""
|
||||
typedef struct {
|
||||
PyObject_HEAD;
|
||||
PyObject_HEAD
|
||||
PyObject *dict;
|
||||
} AST_object;
|
||||
|
||||
|
|
|
@ -456,7 +456,7 @@ static char *withitem_fields[]={
|
|||
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD;
|
||||
PyObject_HEAD
|
||||
PyObject *dict;
|
||||
} AST_object;
|
||||
|
||||
|
|
Loading…
Reference in New Issue