mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Try to fix compilation of Python-ast.c on Visual Studio 2008
This commit is contained in:
parent
cc50ba26bd
commit
45e50de1f5
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue