mirror of https://github.com/python/cpython
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):
|
def visitModule(self, mod):
|
||||||
self.emit("""
|
self.emit("""
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject_HEAD;
|
PyObject_HEAD
|
||||||
PyObject *dict;
|
PyObject *dict;
|
||||||
} AST_object;
|
} AST_object;
|
||||||
|
|
||||||
|
|
|
@ -456,7 +456,7 @@ static char *withitem_fields[]={
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject_HEAD;
|
PyObject_HEAD
|
||||||
PyObject *dict;
|
PyObject *dict;
|
||||||
} AST_object;
|
} AST_object;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue