Try to fix compilation of Python-ast.c on Visual Studio 2008

This commit is contained in:
Victor Stinner 2012-03-13 01:17:31 +01:00
parent cc50ba26bd
commit 45e50de1f5
2 changed files with 2 additions and 2 deletions

View File

@ -604,7 +604,7 @@ class PyTypesVisitor(PickleVisitor):
def visitModule(self, mod): def visitModule(self, mod):
self.emit(""" self.emit("""
typedef struct { typedef struct {
PyObject_HEAD; PyObject_HEAD
PyObject *dict; PyObject *dict;
} AST_object; } AST_object;

View File

@ -456,7 +456,7 @@ static char *withitem_fields[]={
typedef struct { typedef struct {
PyObject_HEAD; PyObject_HEAD
PyObject *dict; PyObject *dict;
} AST_object; } AST_object;